Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
How to know if a table is locked?
Message
From
24/01/2000 17:29:31
 
 
To
24/01/2000 17:00:33
Fausto Garcia
Independent Developer
Lima, Peru
General information
Forum:
Visual FoxPro
Category:
Databases,Tables, Views, Indexing and SQL syntax
Miscellaneous
Thread ID:
00321849
Message ID:
00321879
Views:
16
>Hi to all,
>
>Is there a way to know if a table is locked in the middle of a transaction before opening it?
>I tried using flock() but this works only if the table is open. What about checking a table lock status if it is closed? Isn't there a function as "locked()"?
>
>Thanks for your help,
>
>Fausto

Fausto,

A transaction should take as little time as possible. Open the tables before the BEGIN TRANSACTION.
Craig Berntson
MCSD, Microsoft .Net MVP, Grape City Community Influencer
Previous
Reply
Map
View

Click here to load this message in the networking platform