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:
00123424
Views:
14
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
Barbara Paltiel, Paltiel Inc.
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform