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:
00123462
Views:
11
Hi Barbara

Thank's
I use a public variable, not declared in the report.
Before calling the report, i set the variable to .T.
pMyvar=.T.
In the details on exit i stroke
pMyvar=.F.

In the GROUPFOOTER (like anywhere in the report), the variable stays to .T.
I am not new with VFP but new with the vfp report designer

Even the details on exit never fires ... seems impossible because the groupfooter fires...
Even I AM BEING MAD :)
thanks for your help
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
Next
Reply
Map
View

Click here to load this message in the networking platform