Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
File in use ERROR
Message
 
To
All
General information
Forum:
Visual FoxPro
Category:
Coding, syntax & commands
Title:
File in use ERROR
Miscellaneous
Thread ID:
00540155
Message ID:
00540155
Views:
53
I must be in the forest, because I can't see a tree.
I need some fresh thinking.
The following code produces a "File is in use" error.

----start code
select 0
use &gcName alias screendata
----end code

----given
1. It's in a VFP 5.0 .app
2. gcName contains a valid name of a .scx file complete with path.
3. the .scx file is not in use.
4. the alias "screendata" is not in use.
5. when the "use" command is copied to the command window and executed,
it works without complaining.

Why would this command return "file is in use" error when run in the program
but not when run in the command window?

I appreciate any thoughts y'all might have.
Thanks
Bob
Thanks,
Bob Pahus
Gainesville TX
Next
Reply
Map
View

Click here to load this message in the networking platform