How to replace a record in Microsoft Access 97 with VB 6.0

5 pts.
Tags:
Access 97
Database programming
Microsoft Access 97
Visual Basic 6
I create a program with vb 6.0 and i connected with ms access 97. Now i don't know how to replace an existing record. For example i have the field "A" and the record is "20" now i want to replace "20" with "15"

Answer Wiki

Thanks. We'll let you know when a new response is added.

How are you connecting to the database (dao, ado, rdo, data environment, etc…) ?

You could do that using a SQL UPDATE statement., which would be something like this:

UPDATE <table_name> SET <field_name> = <new value>
WHERE <conditions>

Please provide more details, so we can provide more help.

Discuss This Question: 1  Reply

 
There was an error processing your information. Please try again later.
Thanks. We'll let you know when a new response is added.
Send me notifications when members answer or reply to this question.

REGISTER or login:

Forgot Password?
By submitting you agree to receive email from TechTarget and its partners. If you reside outside of the United States, you consent to having your personal data transferred to and processed in the United States. Privacy
  • Panossg7
    [...] How to replace a record in Microsoft Access 97 with VB 6.0 Jan 17, 2009. I create a program with vb 6.0 and i connected with ms access 97. Now i don't know how to replace an existing record. - How to replace a record in Microsoft Access 97 with VB 6.0 [...]
    0 pointsBadges:
    report

Forgot Password

No problem! Submit your e-mail address below. We'll send you an e-mail containing your password.

Your password has been sent to:

To follow this tag...

There was an error processing your information. Please try again later.

REGISTER or login:

Forgot Password?
By submitting you agree to receive email from TechTarget and its partners. If you reside outside of the United States, you consent to having your personal data transferred to and processed in the United States. Privacy

Thanks! We'll email you when relevant content is added and updated.

Following