Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
How do you pass a parameter to a report form? Can U ?
Message
General information
Forum:
Visual FoxPro
Category:
Reports & Report designer
Miscellaneous
Thread ID:
00175300
Message ID:
00175304
Views:
26
>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
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform