Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Use ... not using the right file!
Message
From
26/06/2011 23:30:54
 
General information
Forum:
Visual FoxPro
Category:
Coding, syntax & commands
Environment versions
Visual FoxPro:
VFP 9 SP2
Miscellaneous
Thread ID:
01516147
Message ID:
01516180
Views:
58
Apparently, even if the table is a VCX, eh?

OUCH!

OK, thank you very much, Sergey.




>FoxPro will always prefer a table included in APP over external one regardless of the path specified. There's no way around it inside an APP.
>
>>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
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform