Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Roaming Record Pointer
Message
De
23/12/1999 09:58:31
 
 
À
23/12/1999 09:29:30
Information générale
Forum:
Visual FoxPro
Catégorie:
Gestionnaire de rapports & Rapports
Divers
Thread ID:
00306394
Message ID:
00307899
Vues:
31
Our latest solution for reports was inspired by Lisa Slater Nicholls. We use the beforeopentables method of the report to create a report variable to the calling form.

* BEGIN DATAENVIRONMENT.BEFOREOPENTABLES()
dodefault()

public roCaller

roCaller = _screen.activeform

* END DATAENVIRONMENT.BEFOREOPENTABLES()

Once this is done, our report can access Methods and Properties on the calling form. ie: roCaller.Method or roCaller.Property

This gives us a report that is encapsulated in a single SCX and an FRX.

We then use the on entry event of the Detail band to run methods on the calling form that in turn populates properties on the calling form. And finally the detail line reports the values of those properties.
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform