Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Pass variable to the report
Message
De
30/11/2005 10:23:46
Dragan Nedeljkovich (En ligne)
Now officially retired
Zrenjanin, Serbia
 
 
À
30/11/2005 10:20:08
Cetin Basoz
Engineerica Inc.
Izmir, Turquie
Information générale
Forum:
Visual FoxPro
Catégorie:
Gestionnaire de rapports & Rapports
Versions des environnements
Visual FoxPro:
VFP 9
OS:
Windows XP SP2
Network:
Windows 2003 Server
Database:
Visual FoxPro
Divers
Thread ID:
01072697
Message ID:
01073241
Vues:
18
>>>Dear Mr Cetin Basoz
>>>
>>>I try your method, I create a field on the report using report designer
>>>which the expression is m.txtCompanynName. And I define the txtCompanyName
>>>to LOCAL, but the result still cannot print out the company name which I assigned.
>>
>>The variable needs to be private, not local. Local is not visible in anything you call, which includes the report. Private, however, will be visible in the report.
>
>Dragan,
>When I said local I was aware I'm saying local:) Report is a command and thus local variables are in scope.

Right - my bad. Does this still hold for any code called within the report? Would any snippets in report's DE or ones called from band headers/footers see the caller's local variable?

back to same old

the first online autobiography, unfinished by design
What, me reckless? I'm full of recks!
Balkans, eh? Count them.
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform