General information
Category:
Reports & Report designer
>>>>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
View the map of this thread
View the map of this thread starting from this message only
View all messages of this thread
View all messages of this thread starting from this message only