General information
Category:
Databases,Tables, Views, Indexing and SQL syntax
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
View the map of this thread
View the map of this thread starting from this message only
View all messages of this thread
View all messages of this thread starting from this message only