Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Passing data to another method
Message
De
04/04/1999 22:45:34
Bruce Gilmour
Cal-Mour Consultants
Calgary, Alberta, Canada
 
 
À
03/04/1999 20:42:53
Information générale
Forum:
Visual FoxPro
Catégorie:
Gestionnaire de rapports & Rapports
Divers
Thread ID:
00204708
Message ID:
00205120
Vues:
16
>>>>What I want to do is take some data in a variable created in the Init of a report and use it in the Destroy of a report. In a form I would just create a property of the form and use it. Can't do that here I don't think. Other than using a global variable or passing it in a temporary cursor, how can it be done? Or can it?
>>>>
>>>>TIA
>>>
>>>Unless I'm mistaken (and someone will correct me if I am) a report is within the scope of it's calling form. You should be able to create a form property to store the value and have it be visible at report.destroy....
>>
>>Good point Paul but there is no calling form that is unique to this report. The variables are all gathered from an object created in the Init of the report. For various reasons I am trying to make the report self contained
>
>Are your forms contained in an application object? You could put a property there...

Yeah but...... I could. I just object to using an app object to contain what should be a local property. I mean where do you stop. As I implied in my question, I have a way or two to solve this problem, I am just checking to see if I missed anything. I like elegant and what I propose to do ain't elegant ;-))
***************************
Bruce Gilmour

"Two things are infinite, the Universe and human stupidity. And I am not sure about the Universe."
- Albert Einstein
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform