Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Fox does not see file at runtime
Message
De
02/01/2002 17:19:41
Hilmar Zonneveld
Independent Consultant
Cochabamba, Bolivie
 
Information générale
Forum:
Visual FoxPro
Catégorie:
Codage, syntaxe et commandes
Divers
Thread ID:
00599962
Message ID:
00599991
Vues:
14
>I compiled the file and then called the 'FXP' instead of the 'PRG' and that
>mades it happy!, I think fox was compiling and storing the 'FXP' in a directory
>out of the path, I don't know, but I though that if you say
>DO c:\temp\FileName.prg, fox will compile and look for a file
>
>c:\Temp\FileName.fxp.
>
>Don't you think?
>
>Thaks for your help.
>
>>>Thanks for your answer Claudio.
>>>I can not include the program file name in the code, I don't know in advance
>>>which program will run. Let me give you more details:
>>>
>>>This application is a generic 'Report Menu' that let the users run reports, I
>>>store the code for the reports in MEMO fields, that way when a change needs to be made I do not have to kick the users out of the system, I just update the
>>>code in the memo field. One piece of code handles all the reports, I just need the name/code of the report, get the record and copy the memo to a file and then
>>>run the report from that file. Got it now?
>>>
>>> The problem is, that at run time Fox doesn't see file. :(
>>>
>>
>>
>>What about the '.fxp' are they at the same folder, are they compiled recently ?
>>
>>Claudio

At runtime, you have to COMPILE explicitly. This requires VFP6, SP3, or later. In previous versions, it was an excluded feature.

Hilmar.
Difference in opinions hath cost many millions of lives: for instance, whether flesh be bread, or bread be flesh; whether whistling be a vice or a virtue; whether it be better to kiss a post, or throw it into the fire... (from Gulliver's Travels)
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform