Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
File is in use
Message
From
17/12/2004 14:06:52
 
 
To
17/12/2004 13:11:26
General information
Forum:
Visual FoxPro
Category:
Forms & Form designer
Title:
Environment versions
Visual FoxPro:
VFP 8
Database:
Visual FoxPro
Miscellaneous
Thread ID:
00970099
Message ID:
00970139
Views:
21
>Hi Mohammed,
>
>as I have told you MANY times, remember to ALWAYS include the AGAIN clause if there is just a little chance that the table is already in use! USE PER AGAIN

Tore,

IF the table to be used is already open in another workarea than the current one, it will be opened in a new workarea with a different alias. That could be a problem if you were expecting it to be a known alias name. At least that is how it works in VFP6. Wouldn't it be better if you are concerned about whether the table is already open us use something like :
IF !USED("PER")
     USE PER ALIAS PER IN 0     
ENDIF
SELECT PER
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform