Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Vfpoledb.1
Message
 
À
16/06/2004 20:53:36
Maltin Lacsina
Angeles Electric Corporation
Angeles, Philippines
Information générale
Forum:
Visual FoxPro
Catégorie:
Autre
Titre:
Divers
Thread ID:
00911495
Message ID:
00914556
Vues:
11
This message has been marked as a message which has helped to the initial question of the thread.
>How can I lock the record using ADO. I want to lock the record before editing the record so that no other user can edit.

In this case you must use server-side cursor and set the LockType property of the recordset to adLockPessimistic. The record will be locked immediately after editing. Instead of Connection.Execute you will need to create Recordset object with desired properties, then use the Recordset.Open method to execute the query.
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform