Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
How to determine table in use?
Message
From
01/03/2005 19:34:20
Mike Sue-Ping
Cambridge, Ontario, Canada
 
General information
Forum:
Visual FoxPro
Category:
Coding, syntax & commands
Environment versions
Visual FoxPro:
VFP 6 SP5
OS:
Windows XP SP1
Database:
Visual FoxPro
Miscellaneous
Thread ID:
00991775
Message ID:
00991830
Views:
13
Thank you both for the suggestions. I'll give them a try.

I'm hoping that with FOPEN(), I can simply check FERROR() and not have to do anything with ON ERROR.

>Try to open the dbf using FOPEN(), check what FERROR() returns, if it returns "Access Denied", the file is open somewhere.
>
>>Hi All,
>>
>>Is there a way to determine if a table is being used in a different datasession without having to loop thru all datasessions and checking with USED()?
>>
>>TIA
>>
>>Mike
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform