Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Using variables in a report
Message
General information
Forum:
Visual FoxPro
Category:
Reports & Report designer
Miscellaneous
Thread ID:
00446138
Message ID:
00446274
Views:
8
>>VFP 3.0
>>
>>Hello All,
>>
>>I have a report that I want to display a record in the body
>>of the report, however, I need to display a record from a 2nd
>>table for the header info.
>>
>>I would like to use variables to disply header info. but need help.
>>Can anyone offer advice?
>>
>>Thanks and have a good day.
>>
>>Becky
>
>I have a method that does the following
>
>* Declare public report variables needed
>PUBLIC pcReportTitle
>
>pcReportTitle = 'What ever I want from where ever I need it'
>
>* Run the report that uses the pcReportTitle variable
>REPORT FORM....
>
>* Important
>* Release the PUBLIC variable
>RELEASE pcReportTitle
>
>Hope this helps..

Hi Bret,

You may declare your variable as local and it still be visible in your report. If you hesitate, declare them as private. No need for PUBLIC, really :)

See also Cetin's reply.
If it's not broken, fix it until it is.


My Blog
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform