General information
Category:
Reports & Report designer
>>>
Hi Brett,
I am displaying a record to printed out from a pageframe form,
the trouble I am having is in the data environment between the
form and the report.
The form is setup to print the current record displayed, however,
when I try to do anything involving the database that contains
the record for the header info. on the report, I encounter
errors and crash the system.
I need to print the last record in the 2nd database to provide
the info for the header info., while at the same time printing
the record displayed on the pageframe form.
Thanks,
Becky
>>>* 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.
>
>Correct, but test test test....
Previous
Next
Reply
View the map of this thread
View the map of this thread starting from this message only
View all messages of this thread
View all messages of this thread starting from this message only