Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
USED() with non .dbf extension
Message
General information
Forum:
Visual FoxPro
Category:
Coding, syntax & commands
Miscellaneous
Thread ID:
00276954
Message ID:
00277063
Views:
31
>So I want to open the table exclusively. How do I tell if it's in use?

You were on the right track earlier. Just do:
nerror = fopen(cfilename)
if nerror >= 0
  =fclose(nerror) && It's available, so close it quickly and USE it!
endif
IOW, if nerror < 0, it's in use, and forget EXCLUSIVE open.
The Anonymous Bureaucrat,
and frankly, quite content not to be
a member of either major US political party.
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform