>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