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:
01516152
Vues:
69
What does
? SYS(2450)
returns, if it returns 1 then try to switch it to 0, although I am not sure if it will have any impact of the USE commands, for it says in the beginning that it searches for "data and resources" but then keeps talking about UDF and does not mention tables

SYS(2450) - Application Search Path Order

>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
"The five senses obstruct or deform the apprehension of reality."
Jorge L. Borges?

"Premature optimization is the root of all evil in programming."
Donald Knuth, repeating C. A. R. Hoare

"To die for a religion is easier than to live it absolutely"
Jorge L. Borges
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform