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
--sb--