Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Use ... not using the right file!
Message
From
26/06/2011 20:10:49
 
 
To
All
General information
Forum:
Visual FoxPro
Category:
Coding, syntax & commands
Title:
Use ... not using the right file!
Environment versions
Visual FoxPro:
VFP 9 SP2
Miscellaneous
Thread ID:
01516147
Message ID:
01516147
Views:
143
This is an odd one: I have code that looks like this
Use (lcClassLib) Again Shared Alias VCX
where lcClassLib is a fully qualified path name to a table.

What is happening is that if JustFName(lcClassLib) matches the name of a class library in my APP (PEMEditor.APP) ... it opens the class library from the APP, not the file name I asked for.

In other words -- it opened a different file than I asked for -- same JustFName, but in a completely different folder -- even though lcClassLib is the full path of the file I want to open.

Now, this problem does not occur in the Command Window, but only if it is executing code in the APP.

Any suggestions or thoughts?????

Thanks
Jim Nelson
Newbury Park, CA
Next
Reply
Map
View

Click here to load this message in the networking platform