Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
How to determine table in use?
Message
 
To
01/03/2005 16:59:45
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:
00991783
Views:
11
>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

IF in other's DS You open the table shared,
Try to OPEN the Table Exclusive.
IF successful all is OK - the Table isn't open from other DS.

HTH
_______________________________________________________________
Testing displays the presence, not the absence of bugs.
If a software application has to be designed, it has to be designed correctly!
_______________________________________________________________
Vladimir Zografski
Systems Analyst
Previous
Reply
Map
View

Click here to load this message in the networking platform