Information générale
Catégorie:
Gestionnaire de rapports & Rapports
Barbara
Details on exit fires
Iff put pmyvar=1 in details on exit i got an error
and if i put pmyvar=.F., no error but pmyvar is always displayed with .T.
???
michel
>Michel, if you have declared a report variable with the name 'pMyVar' in the report, then this will be private variable. If you wish to use a public variable in a report, do NOT declare it in the report - just use it as you would in a PRG.
>
>Also, add this variable to your detail, page footer, etc. and watch to see where it changes.
>
>HTH
>Barbara
>
>
>>I have a public variable pMyvar
>>Before reporting i set pMyvar=.T.
>>
>>In the details on exit expression i put
>>pmyvar=.F.
>>
>>And the pMyvar stays to .T. in any part of the report
>>
>>It's stupid but i dont understand ...
>>
>>Thank's to all for your help
>>
>>Michel
Précédent
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