Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Check to see if a table on a network drive is in use
Message
From
10/06/2003 10:47:15
 
 
To
10/06/2003 10:30:11
Hilmar Zonneveld
Independent Consultant
Cochabamba, Bolivia
General information
Forum:
Visual FoxPro
Category:
Coding, syntax & commands
Miscellaneous
Thread ID:
00798363
Message ID:
00798390
Views:
30
Is there a way I can check if a file is open before trying to open it using the USE command?

e.g.

IF ALREADYOPEN("mytable")
=MESSAGEBOX("Mytable is already open by another user",48,"")
ELSE
USE mytable IN 0 ALIAS mytable
ENDIF

ALREADYOPEN being a purely fictional command.
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform