hi;
I need help .now am using vb6
how to icrement values in database(ms acesss).
if user click the check box then
authomatically increment the database value 1 to 2
how it is posible.pls give a sutable solution
snairsumith
0
Newbie Poster
Recommended Answers
Jump to Posthi, you have two set one of the field to autonumber. then your checkbox, you need to make a code for that the when the user clicks on it, it will add record to the database.
search google on how to do it like: "msaccess vb6 tutorial" or try …
Jump to PostUnder the checkbox do the following -
Dim xRecCount As Integer xRecCount = rsData.RecordCount xRecData = xRecData + 1
All 5 Replies
cguan_77
8
Nearly a Posting Virtuoso
AndreRet
526
Senior Poster
kinwang2009
7
Posting Whiz in Training
snairsumith
0
Newbie Poster
AndreRet
526
Senior Poster
Be a part of the DaniWeb community
We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.