Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Using ADO in Multi-user envieronment
Message
 
To
28/09/2001 10:01:24
General information
Forum:
Visual Basic
Category:
Database DAO/RDO/ODBC/ADO
Miscellaneous
Thread ID:
00561896
Message ID:
00561995
Views:
17
>rs.Open , , , adLockOptimistic
>Now when a user in working with a record of this recordset and underlined table gets changed he gets an error message "Can't locate a cursor for update. Source was changed."
>How can I avoid this situation?

You can use adLockPessimistic but this will lock more than one record (not only the one being edited).
Éric Moreau, MCPD, Visual Developer - Visual Basic MVP
Conseiller Principal / Senior Consultant
Moer inc.
http://www.emoreau.com
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform