Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
File in use ERROR
Message
General information
Forum:
Visual FoxPro
Category:
Coding, syntax & commands
Miscellaneous
Thread ID:
00540155
Message ID:
00540165
Views:
17
>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

Just a wild guess, but does use (gcName) alias screendata work?
Bret Hobbs

"We'd have been called juvenile delinquents only our neighborhood couldn't afford a sociologist." Bob Hope
Previous
Reply
Map
View

Click here to load this message in the networking platform