Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
How to detect multi-user code
Message
De
10/05/2000 08:43:11
 
 
À
10/05/2000 08:36:40
Information générale
Forum:
Visual FoxPro
Catégorie:
Codage, syntaxe et commandes
Divers
Thread ID:
00368034
Message ID:
00368036
Vues:
18
>I have a program that allow multi-user using. When i retreive record Doc. No.= A123. Other hand the other use also retreive the same document no. Now It look fine. But When I want to delete, It allow me to delete, the other user move the record error message "Update conflict", How to detect it
>My Code :- Select Trn
> If rlock()
> Error message
> else
> delete
> skip
> endif
>
>Thanks for the Help, Coding will be appreciated.

Hi Carmen,
Try
if .not. rlock()
error message
else
delete
skip
endif
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform