Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Biomedical Supervisor
Message
General information
Forum:
Visual FoxPro
Category:
Other
Title:
Biomedical Supervisor
Miscellaneous
Thread ID:
00253998
Message ID:
00253998
Views:
51
I am trying to figure out the best way to call a prg file from within VFP. I have come up with 3 ways to do it and am wondering which way is the best.

1. I have a main form that all calls to other forms go through (action) depending on this.caption. My subforms that need to call the prg files, can make a call through this program but this will make my action program vey long.

or

2. I can put the call to the prg file directly under the command buttons click event.

or

3. I can put all of the code of the prg under the click event of the command button.

Which scenario is best and why?

Thanks for the help.
Chad
Reply
Map
View

Click here to load this message in the networking platform