Use an SQL query to retrieve the record you want to update.
The way your code works ADO is opening your table and moving to the first record. It looks as though that is not necessarily the record you want to update but that is the record that receives the changes. So just substitute the table...
Before Access 2000 Access always had a delay before the internal buffer was flushed. If using DAO this can be forced (check the documentation).
However, using ADO with Jet 4.0 and A2000 you should be able use resync on the recordset update call and see the changes immediately. Haven't tried...
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.