>>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