Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Used File
Message
From
20/07/1999 08:42:51
 
 
To
19/07/1999 23:48:14
General information
Forum:
Visual FoxPro
Category:
Coding, syntax & commands
Title:
Miscellaneous
Thread ID:
00243420
Message ID:
00243522
Views:
26
>Dear all,
>
>Is there any other command for knowing that a table is being used by another user besides "USED" ?
>
>thank's

You can se ta temporary error handler and try to openthe table exclusively.

llGotExclusive = .T.
lcOnError = ON("ERROR")
ON ERROR llGotExclusive = .F.

USE SomeTable IN 0 EXCLUSIVE

ON ERROR &lcOnError

IF !llGotExclusive
* soome one has the table open
ENDIF
Erik Moore
Clientelligence
Previous
Reply
Map
View

Click here to load this message in the networking platform