Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Basic question: assign a variable
Message
General information
Forum:
Visual FoxPro
Category:
Reports & Report designer
Miscellaneous
Thread ID:
00123272
Message ID:
00123463
Views:
16
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
Previous
Reply
Map
View

Click here to load this message in the networking platform