Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Using variables in a report
Message
Information générale
Forum:
Visual FoxPro
Catégorie:
Gestionnaire de rapports & Rapports
Divers
Thread ID:
00446138
Message ID:
00446274
Vues:
15
>>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
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform