Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
How do you pass a parameter to a report form? Can U ?
Message
Information générale
Forum:
Visual FoxPro
Catégorie:
Gestionnaire de rapports & Rapports
Divers
Thread ID:
00175300
Message ID:
00175304
Vues:
27
>I need to pass a customer name as a variable/parameter to a report.
>Is there a way to do it?

Yes,

do form (whatever) with ParmVal1, ParmVal2, ParmVal3, etc...

In the form's INIT() method, be sure to have a parameters statement there. However, if you want the values to stay while the form is active, you may want to make custom properties on the form to hold them, otherwise when the INIT() method is closed, so go the variables passed in... Just a note, you can also pass in an object (even pointer to another form) and take advantage of any other properties/methods from such object.

HTH
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform