Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Use ... not using the right file!
Message
 
 
À
26/06/2011 20:10:49
Information générale
Forum:
Visual FoxPro
Catégorie:
Codage, syntaxe et commandes
Versions des environnements
Visual FoxPro:
VFP 9 SP2
Divers
Thread ID:
01516147
Message ID:
01516177
Vues:
71
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--
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform