Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
How to check a table is opened before use the table ?
Message
From
14/01/2006 11:40:05
 
 
To
13/01/2006 04:28:11
Yim Ming Sun Derek
Spacious Design Consultant
Hong Kong, Hong Kong
General information
Forum:
Visual FoxPro
Category:
Coding, syntax & commands
Environment versions
Visual FoxPro:
VFP 9
OS:
Windows XP SP2
Network:
Windows 2003 Server
Database:
Visual FoxPro
Miscellaneous
Thread ID:
01086459
Message ID:
01086819
Views:
21
You can try a little low level trick to see if it is open by ANYBODY,
i = fopen( fully qulified file name ,2)
if i < 0
  messagebox('File is already open')
else
  fclose(i)
  Use ...
endif
Glenn


>Hi,
>I want to check a table whether it is open or not before
>open it, how to check it ?
>
>Please advise.
>
>Derek
Previous
Reply
Map
View

Click here to load this message in the networking platform