Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Multi User Table Access
Message
General information
Forum:
Visual FoxPro
Category:
Other
Miscellaneous
Thread ID:
00233295
Message ID:
00233882
Views:
34
>In a multi-user program, what is the easiest way to tell if a table is opened by another user. I need to use the table from time to time exclusivly to do maintainance and will need to make sure all users are out of the table.

Here's an old but still good method, also:
nfilehandle = fopen('filename')
if nfilehandle >= 0
  =fclose(nfilehandle)  && it's available for you to open EXCL
else
 * it's in use
endif
The Anonymous Bureaucrat,
and frankly, quite content not to be
a member of either major US political party.
Previous
Reply
Map
View

Click here to load this message in the networking platform