Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Access to Report Variables
Message
De
22/09/2010 16:38:35
Ken Knorr
Logos Management Software
Ventura, Californie, États-Unis
 
 
À
Tous
Information générale
Forum:
Visual FoxPro
Catégorie:
Gestionnaire de rapports & Rapports
Titre:
Access to Report Variables
Versions des environnements
Visual FoxPro:
VFP 9 SP2
OS:
Windows 7
Divers
Thread ID:
01482365
Message ID:
01482365
Vues:
148
Report variables used to be Global in prior version of VFP including vfp9 sp1. This is not the case i have expressions that call out to an object that does an eval of report expression.

I preprocess reports swapping the expression with a public variable (expression was rpt_get_history("Range",ldBgn, ldEnd)) which is replace with public variable named _u132abc56 for instance. The ldBgn and ldEnd are report variables. So my object does a:

lcVariable = obj.aExpression[1,1] && contains "_u132abc56"
lcExp = obj.aExpression[1,2] && contains [rpt_get_history("Range",ldBgn, ldEnd)]

&lcVariable. = eval(lcexpr)

and when report renders that field if get data for variable _u132abc56.

How do I get access to the variables ldBgn, ldEnd, I have access to the listener object but am at a loss to figure how to get
values for ldBgn and ldEnd.

Ken
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform