Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
How to know if a table is locked?
Message
 
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:
00321870
Views:
19
>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, cuando intentas bloquear una tabla que ya esta bloqueada se genera un mensaje de error, este mensaje puede ser manejado con la instruccion "ON ERROR". Para cualquier ayuda adicional puede referirte a la instruccion "TABLEUPDATE" o a la instruccion "ON ERROR" en la ayuda de VFP.

Cualquier duda o comentario adicional puede contactarme por este mismo metodo.
I'm a mixture of Albert Einstein and Arnold Schwarzenegger. The only trouble is that I got Einstein's body and Schwarzenegger's brain
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform