Information générale
Catégorie:
Gestionnaire de rapports & Rapports
Versions des environnements
>>
>>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
Voir le fil de ce thread
Voir le fil de ce thread à partir de ce message seulement
Voir tous les messages de ce thread
Voir tous les messages de ce thread à partir de ce message seulement