Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Access to Report Variables
Message
De
23/09/2010 02:51:53
 
 
À
23/09/2010 00:12:34
Ken Knorr
Logos Management Software
Ventura, Californie, États-Unis
Information générale
Forum:
Visual FoxPro
Catégorie:
Gestionnaire de rapports & Rapports
Versions des environnements
Visual FoxPro:
VFP 9 SP2
OS:
Windows 7
Divers
Thread ID:
01482365
Message ID:
01482417
Vues:
80
>>
>>Actually you need to declare the variables private not local to make them visible in the report.
>
>These variables are DEFINED IN THE REPORT, I'm trying to access them in a object that is called by the OnEntry bands of the report. Before SP2 all Report Variables were defined as Global, now I can't find them. The only work around I have been able to do is to create another Report Variable and set the Value to Store expression: _Vfp.SetVar("ldBgn", ldBgn). I have over 500 reports to check. And I don't have a way to delete the public variable after report is finished running (yet).

SWAG: mark these vars as private in the function calling the method
*** and assign a starting value to them in the next line ***
as marking them as private does not create them.
If no further changes in scope to these name table entries occur,
later assignments to NTI's sould be visible until the calling func exits.

HTH

thomas
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform