Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Locking Strategy Needed
Message
Information générale
Forum:
Visual FoxPro
Catégorie:
Autre
Divers
Thread ID:
00340545
Message ID:
00340777
Vues:
23
>
if rlock('0','mytable') then
>   insert into mytable values (value1, value2)
>   unlock record 0 in mytable
>else
>   * you can't log in right now, try again
>endif
>
>You could put this in a loop with a counter or you could bump up reprocess so VFP internally runs its own loop and counter.


For right now I will stick with an ELSE that sends me email when the lock never occurred, with some data so I can research the problem.
Bret Hobbs

"We'd have been called juvenile delinquents only our neighborhood couldn't afford a sociologist." Bob Hope
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform