如何在Ms.Acess 2007中查找并自动在VB6中增加或减少数据 [英] How to Find and automatically INCREASE or DECREASE data in VB6 with Ms. acess 2007

查看:76
本文介绍了如何在Ms.Acess 2007中查找并自动在VB6中增加或减少数据的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

亲爱的所有人-请帮助我. . .

我是VB6的初学者,试图创建一个小型应用程序,即使用MS Access 2007的数据库.他的名称表ASSET,然后名称fieldnya是KODE和QTY.我发现并一直在寻找解决方案的困难是,在KODE字段上寻找数据,如果找到,则数据将自动增加或减少.

感谢您的帮助和关注,-


最好的问候
Hariyanto

Dear All - Please Help me . . .

I am a beginner in VB6 and was trying to make a small application, a database that I use MS Access 2007. His name table ASSET then name fieldnya is KODE and QTY. The difficulty that I found and was looking for the solution is Seeking Looking for data on the field KODE, if found then the data QTY automatic INCREASE or DECREASE.

Thanks for yours help and attention,-


Best Regards
Hariyanto

推荐答案

在编写问题时需要更加清楚.请附上您正在使用的代码,并详细说明为什么它不起作用.包括收到的错误消息.

通常,听起来您想在数据库中搜索键值,然后更新数量值.这是一项非常常见的任务,您可以通过在Code Project上搜索或查看文章来找到很多有关其工作方式的文章.我看到的唯一困难是您正在VB6中进行编码.这是一个严格的要求吗? VB6是一门古老的语言.如果您有选择,那么您确实应该研究VB.Net. Visual Studio Express是IDE的免费版本.您会发现更多的文档和文章可以帮助您使用新的语言.

You need to be more clear when writing your question. Please include the code that you are working with and a detailed explaination of why it isn''t working. Include error messages that you get.

In general, it sounds like you want to search a database for a key value, then update a quanitity value. This is a very common task and you can probably find a lot of articles about how it''s done by googling or looking at articles here on Code Project. The only difficulty that I can see is that you are coding in VB6. Is this a strict requirement? VB6 is an old language. If you have the choice, you really should look into VB.Net. Visual Studio Express is a free version of the IDE. You''ll find a lot more documentation and articles to help you with a newer language.

Here[^] are some google results for vb6 data access tutorials that may help guide you.


在我看来,MS Access 2007版本不支持VB6 .....我已经为此尝试过……最好使用旧版本的MS Access
In my point of view VB6 is not supported to MS Access 2007 version........ Already i tried for that...... Better to use elder versions of MS Access


这篇关于如何在Ms.Acess 2007中查找并自动在VB6中增加或减少数据的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆