Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Running code can't find form
Message
De
05/11/2001 16:26:26
 
 
À
31/10/2001 18:59:55
Charles Richard
Nvo Management Systems
Boisbriand, Québec, Canada
Information générale
Forum:
Visual FoxPro
Catégorie:
Codage, syntaxe et commandes
Divers
Thread ID:
00575726
Message ID:
00577618
Vues:
18
Hi Charles,

Tried this and the .prg was able to find any procedures it needed but not any forms. While driving to the closest coffee shop to clear my brain (and boost my caffeine), I realized that SET PROCEDURE probably would not work with forms.

Solution turned out to be to turn the MakeData.prg into Makedata.app with the .prg as the main program and then to pull any needed forms into that. In this way, when running the Makedata code, it would find the forms "within itself" and it would work. Thanks...your suggestion put me on the right track - it lets me leave the Makedata.prg as a separate file (which changes a lot often during the day). It still creates a pretty big file but I can live with that.

Albert

>
>SET PROCEDURE TO mk.exe ADDITIVE  &&or put this in your startup code
>DO FORM AskDates
>RELEASE PROCEDURE mk.exe  *optionally
>
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform