Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Passing parameters to reports in VFP 3.0
Message
From
02/09/1998 09:12:12
Dragan Nedeljkovich
Now officially retired
Zrenjanin, Serbia
 
General information
Forum:
Visual FoxPro
Category:
Reports & Report designer
Miscellaneous
Thread ID:
00131749
Message ID:
00132303
Views:
17
>You don't need any public variables as reports are modal in nature. Just create the variables in the calling program and refer to them in the report.
>
>
>lcTitle = "My Great Report"
>REPORT FORM SomeFRX TO PRINT NOCONSOLE
>
>
>The variable lcTitle is available in the report form.

There are a few public vars that I will keep in my reports - it's the user company header (name, address, phone etc) which is the same throughout the app. OTOH, this is where OOP reports would play nice - if I could have a standard report heading object, I'd construct it once, keep it as a member of the goApp, and simply reference it on every report.

back to same old

the first online autobiography, unfinished by design
What, me reckless? I'm full of recks!
Balkans, eh? Count them.
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform