Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Sending the value of a property to a report
Message
De
31/07/2002 12:07:57
 
Information générale
Forum:
Visual FoxPro
Catégorie:
Gestionnaire de rapports & Rapports
Divers
Thread ID:
00684427
Message ID:
00684549
Vues:
26
Hello Jayesh,

This is not correct. If a report is run from inside of a form, thisform is available, as well as other variables (including LOCAL) that may be in scope at that time. I can't think of any reason to ever need to declare a variable as PUBLIC for it to be visible within a report.

>Thisform can only be used within the Form. If you want to access Properties of the form in the report, do something like this.
>
>Form1.MyMethod()
>
>PUBLIC goForm
>
>goForm = Thisform
>
>REPORT FORM myReport
>
>Use goForm.myProperty in the PRINT WHEN, it should work.
>
>
Steve Gibson
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform