Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Running code can't find form
Message
From
05/11/2001 16:26:26
 
 
To
31/10/2001 18:59:55
Charles Richard
Nvo Management Systems
Boisbriand, Quebec, Canada
General information
Forum:
Visual FoxPro
Category:
Coding, syntax & commands
Miscellaneous
Thread ID:
00575726
Message ID:
00577618
Views:
17
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
>
Previous
Reply
Map
View

Click here to load this message in the networking platform