Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Report variables are not released after report is finish
Message
General information
Forum:
Visual FoxPro
Category:
Reports & Report designer
Miscellaneous
Thread ID:
00579776
Message ID:
00579803
Views:
20
>>>>Hi everyone,
>>>>
>>>>I've found, that my Report variables are not released, after report is closed. I have Release after report option checked. I created variables cState and cIssue and after I finish with report and type in command window ?cState or ?cIssue, I see 0.
>>>>
>>>>Is it a bug in VFP Report Writer? (VFP 6.0 SP 5)
>>>>
>>>>So, I decided to not use these variables in Report, but still it's strange, why they are not released...
>>>
>>>
>>>Is the variable exist BEFORE the report?
>>
>>No! I even typed release cState, cIssue before running it. These variables appear after Report was closed. So, I just get rid of them, but it makes me wander, may be there is the same situation with other reports, where variables are used...
>
>
>I give it a try and i confirm your observation....
>
>The variable was reset at the end but not released.

Gerald,

You may want to release the variables in the Destroy() method of the report's data environment.

Doug
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform