Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
What function would be equivalent to 'ISEXCLUSIVE()'
Message
From
16/06/2000 04:50:05
 
 
To
13/06/2000 22:29:28
General information
Forum:
Visual FoxPro
Category:
Databases,Tables, Views, Indexing and SQL syntax
Miscellaneous
Thread ID:
00339668
Message ID:
00381245
Views:
21
Not wanting to be a nuisance, but...

If the table is already opened 'shared' as another alias in another work area or in another 'datasession' then won't this code fail? Does this mean that mean that another user has it open :-)

No, I don't have a better answer :-)

(and yes, its my last day before a holiday, so I'm in a silly mood)

>>How do you check if a file is opened exclusively somewhere else (on another machine)? ISEXCLUSIVE() doesn't seem to be the answer.
>
>You have to just go for it and trap the error.
>
>lcError = on('error')
>on error *
>use mytable excl
>?used('mytable')
>on error &lcError
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform