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:
00579803
Vues:
21
>>>>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
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform