Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Private vs. Public variables
Message
From
01/01/2001 18:03:07
 
 
To
31/12/2000 13:23:09
General information
Forum:
Visual FoxPro
Category:
Forms & Form designer
Miscellaneous
Thread ID:
00458199
Message ID:
00458331
Views:
11
The prg approach is good if you plan to call it from more than one place. If instead
the report only gets called from this form, after the users answer all the questions, you could add a custom method to your form that runs the report.

So after filling the form, the main button, something like cmdPrint, could run a method, like ThisForm.DoReport that queries and prepares the data and does a report form xxx

>>>>>>>>>>>>>>>>>>
On my form, the user specifies the selection criteria and format for a report to be created. I then DO a program that creates the appropriate report. I have always used public variables for passing the information from the form to the program.
>>>>>>>>>>>>>>>>>>


Alex Feldstein, MCP, Microsoft MVP
VFP Tips: English - Spanish
Website - Blog - Photo Gallery


"Once again, we come to the Holiday Season, a deeply religious time that each of us observes, in his own way, by going to the mall of his choice." -- Dave Barry
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform