Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
USE EXCLUSIVE command
Message
 
To
05/02/2002 05:13:22
General information
Forum:
Visual FoxPro
Category:
Databases,Tables, Views, Indexing and SQL syntax
Miscellaneous
Thread ID:
00615294
Message ID:
00615297
Views:
18
This message has been marked as the solution to the initial question of the thread.
>Hi,
>How I can trap error on command
>
>USE mytable EXCLUSIVE
>
>when another user is open this table ?
>
>Thanks.
>------------------------
>Krasimir Georgiev
>Sofia, Bulgaria

You can try something like
on error llIsExclusive = .T.

use mytable exclusive

on error
if llIsExclusive
  * Do something else
else
  * Not opened exclusive so continue
endif
HTH
Caroline
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform