Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
IF ! used('myfile') doesn't work
Message
From
13/02/2007 17:13:15
 
 
To
13/02/2007 14:50:32
General information
Forum:
Visual FoxPro
Category:
Forms & Form designer
Environment versions
Visual FoxPro:
VFP 7 SP1
OS:
Windows XP SP2
Network:
Windows 2000 Server
Database:
Visual FoxPro
Miscellaneous
Thread ID:
01195320
Message ID:
01195374
Views:
20
>When working in forms, I use:
> If Not Used('myfile')
> USE path + myfile
> ENDIF
>
>Even if the file IS in use, Fox 7 still tries to execute the USE. Result: error.
>
>Anyone know why?

My *guess*... the table has a name with a first character that is invalid for a VFP alias. In such a case VFP will make its own alias.

good luck

>
>Thanks, Randy
Previous
Reply
Map
View

Click here to load this message in the networking platform