Information générale
Catégorie:
Gestionnaire de rapports & Rapports
>>>
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....
Précédent
Suivant
Répondre
Voir le fil de ce thread
Voir le fil de ce thread à partir de ce message seulement
Voir tous les messages de ce thread
Voir tous les messages de ce thread à partir de ce message seulement