Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Passing parameters to reports in VFP 3.0
Message
From
04/09/1998 08:58:29
Dragan Nedeljkovich (Online)
Now officially retired
Zrenjanin, Serbia
 
General information
Forum:
Visual FoxPro
Category:
Reports & Report designer
Miscellaneous
Thread ID:
00131749
Message ID:
00133199
Views:
24
>>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.
>
>Dragan,
>
>My point is that those variables do NOT need to be public, they can be private to the startup program and they can be seen and used by everything in the application.

Of course. I'm making them public just for convenience - I set them up in a custom .prg which actually reads the config tables, so it's lot easier if it's not contained in the main prg. I just like to keep the main as short as possible. Anyway, I don't see much difference between these two. Is there any, apart from getting a syntax error if you try to re-declare one of main.prg's variables Public?

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