Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Using ADO in Multi-user envieronment
Message
 
À
28/09/2001 10:01:24
Information générale
Forum:
Visual Basic
Catégorie:
Bases de données DAO/RDO/ODBC/ADO
Divers
Thread ID:
00561896
Message ID:
00561995
Vues:
18
>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
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform