Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Passing an object to the report
Message
Information générale
Forum:
Visual FoxPro
Catégorie:
Gestionnaire de rapports & Rapports
Divers
Thread ID:
00132484
Message ID:
00132672
Vues:
12
>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é
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform