Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Error: 108 File is in use by another user.
Message
General information
Forum:
Visual FoxPro
Category:
Databases,Tables, Views, Indexing and SQL syntax
Miscellaneous
Thread ID:
00890532
Message ID:
00890535
Views:
32
Dawa,
Is there anywhere in your application that the table Stafile is open exclusive? May be one user attempt to insert a record therefore other is open that table exlusive, doing some REINDEX or PACK...
By the way according to help the right sintax of RLOCK is:
RLOCK([nWorkArea | cTableAlias] | [cRecordNumberList, nWorkArea
 | cTableAlias])
so you must change
 if rlock("0",'stafile')
to
 if rlock('stafile')
In addition, You can put a messagebox before ROLLBACK to annonce to user that no changes is commited.
Against Stupidity the Gods themselves Contend in Vain - Johann Christoph Friedrich von Schiller
The only thing normal about database guys is their tables.
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform