Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Report variables are not released after report is finish
Message
Information générale
Forum:
Visual FoxPro
Catégorie:
Gestionnaire de rapports & Rapports
Divers
Thread ID:
00579776
Message ID:
00579808
Vues:
37
>>>>>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

I have no doupt that can be done in some way,
but Nadya point that the report variable was create
in the report designer and the RELEASE VARIABLE checkbox
was checked!!!
If we exchange an apple, we both get an apple.
But if we exchange an idea, we both get 2 ideas, cool...


Gérald Santerre
Independant programmer - internet or intranet stuff - always looking for contracts big or small :)
http://www.siteintranet.qc.ca
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform