>>>>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.
Does it sound like a bug to you or was it documented somewhere? I will now be careful in using variables in Report, because I don't want to create unnecessary public vars. Besides, it may lead to troubles, if these names would be the same, as some local vars in some other places...
If it's not broken, fix it until it is.
My Blog