Jump to content

Update database field

- - - - -

This topic has been archived. This means that you cannot reply to this topic.
1 reply to this topic

#1
jashsayani

jashsayani

    Learning Programmer

  • Members
  • PipPipPip
  • 41 posts
I have a number in the access database and want to add 1 each time a button is pressed.

DBFile.mdb (Access) - Table: Table1 - Field: Count

Count is 1 (Only one row/entry).

I want to add 1 to it each time a button is pressed. So, the value updates to 2,3,4...

Now I just need to know the command to Write/Update that value which I am storing in a variable.

I am using ADODC. How do I write/update it ?

#2
dargueta

dargueta

    Writes binary right handed and hex left handed

  • Moderators
  • 4,722 posts
Here's a tutorial that should help:
Visual Basic & ADO Tutorial (VB6)
sudo rm -rf /