Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Passing parameters to reports
Message
Information générale
Forum:
Visual FoxPro
Catégorie:
Gestionnaire de rapports & Rapports
Divers
Thread ID:
00926767
Message ID:
00926785
Vues:
20
There is no way to pass a parameter to a report. However, you have full access to anything that is visible at the time the report is run. For example, if you are in a form when you issue REPORT FORM, you may reference ThisForm.myProperty in the report. You may also reference any existing variables, call a UDF, or call a method on the form.



>Is there a good way to pass a value to a report?
>
>Say you want to print a string or variable in a report that cannot be created within the report, such as the name of the person who ran the report.
>
>I have been doing this by creating a public variable and then referencing the variable in the report form. However it seems to me that this is a clumsy way to approach this. Does anyone know of a better way? Is it possible to pass values to a report like we do with subroutines?
>
>- Don
Cathy Pountney, Microsoft Visual FoxPro MVP
Memorial Business Systems, Inc. (www.mbs-intl.com)

My Website: (www.frontier2000.com)
My Blog: (www.cathypountney.blogspot.com)
My Book: The Visual FoxPro Report Writer - Pushing it to the Limit and Beyond
Free MSDN Article: What's New in the VFP 9.0 Report Writer
Free MSDN Article: The VFP 9.0 Report Writer In Action
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform