Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Pass variable to the report
Message
From
30/11/2005 09:50:18
Dragan Nedeljkovich (Online)
Now officially retired
Zrenjanin, Serbia
 
 
To
30/11/2005 09:41:11
General information
Forum:
Visual FoxPro
Category:
Reports & Report designer
Environment versions
Visual FoxPro:
VFP 9
OS:
Windows XP SP2
Network:
Windows 2003 Server
Database:
Visual FoxPro
Miscellaneous
Thread ID:
01072697
Message ID:
01073219
Views:
17
>>>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,
>
>local will do. No need for private

If it's used from within any code in the report (in its dataenvironment, band start/end expressions etc), then we'd need private, I think. Haven't actually done anything .frx for a couple of years, so I don't have any at hand to try and see.

back to same old

the first online autobiography, unfinished by design
What, me reckless? I'm full of recks!
Balkans, eh? Count them.
Previous
Reply
Map
View

Click here to load this message in the networking platform