Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Record Locking
Message
De
12/11/1999 17:53:27
 
 
À
Tous
Information générale
Forum:
Visual FoxPro
Catégorie:
Base de données, Tables, Vues, Index et syntaxe SQL
Titre:
Record Locking
Divers
Thread ID:
00290812
Message ID:
00290812
Vues:
67
When trying to use the "ISLOCKED()" function to determine if a record is locked I getting strange results. For example:

I open a table with exclusive off on two machines. I lock it using the "LOCK()" function on one machine. On the other I run this code

IF ISLOCKED()
messagebox("Record is locked")
ELSE
messagebox("Record is UnLocked")
ENDIF

The file being tested has only 3 records and I am locking the first one. This function returns unlocked on all three records. However, if I try to lock record number one on the second machine using "RLOCK()" It fails because the record is locked.... HELP
Dennis Collins
TRACKUM, Inc.
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform