Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Checking if table in use
Message
From
10/10/2004 20:36:36
 
 
To
10/10/2004 01:56:30
General information
Forum:
Visual FoxPro
Category:
Coding, syntax & commands
Miscellaneous
Thread ID:
00950216
Message ID:
00950309
Views:
13
You have a bug in your code:
?used (MYTABLE.DBF') && change to
?used ("MYTABLE")
If you want to check if it's used exclusive:
?ISFLOCKED("MYTABLE")
>Hi all
>How can I check if my table in use?
>When i try this:
use mytable again in 0 excl
I get meg\ssage that file access is denied becase my table is in use.
>But when I run the following code:
if used (MYTABLE.DBF')
>messagebox('Used', 0+16)
>else
>messagebox('Not Used', 0+64)
>endif
I get my messagebox answer that my table not in used.
>Help please
- Jeff
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform