Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Passing an object to the report
Message
General information
Forum:
Visual FoxPro
Category:
Reports & Report designer
Miscellaneous
Thread ID:
00132484
Message ID:
00132672
Views:
11
>I've got an object that has a number of properties that'd I'd to include in a report. I'm wondering if/how I can pass an object reference to the report. Unfortunately, I can't create the object from the report.
>
> My next thought was to create a method that took these properties and made them local variables, then ran the report from that method instead of my Print() method. I might just do this instead, but I kind of prefer having all my print code located only in the Print method.
>
> Ideas?
>
>Thanks,

Paul, I should define the views in the view designer (or in code) so they get saved into the DBC. Add them to the DATAENV of the report with NODAONLOAD = .T. Then do the REQUERY() in the init() of the DataEnv.

José
Previous
Reply
Map
View

Click here to load this message in the networking platform