Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Private vs. Public variables
Message
De
01/01/2001 18:03:07
 
 
À
31/12/2000 13:23:09
Information générale
Forum:
Visual FoxPro
Catégorie:
Gestionnaire d'écran & Écrans
Divers
Thread ID:
00458199
Message ID:
00458331
Vues:
12
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
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform