Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Passing object as a parameter
Message
De
03/04/1997 17:16:46
 
 
À
03/04/1997 17:12:16
Information générale
Forum:
Visual FoxPro
Catégorie:
Autre
Divers
Thread ID:
00026905
Message ID:
00026912
Vues:
34
>I did it many times and it worked:
>DO FORM newform WITH thisform.name,"text56"

Yes, I just tested it and it works. I used the DO FORM WITH ThisForm,This to simplify my example. In reality I am using CREATEOBJECT(). Here's what I had in reality:

oReport=CREATEOBJECT('CRITERE',ThisForm,This)
oReport.Show()

When I did the test manually with a dummy form by using DO FORM WITH ThisForm,This it worked. I guess there is something different with CREATEOBJECT().

Any idea?
Michel Fournier
Level Extreme Inc.
Designer, architect, owner of the Level Extreme Platform
Subscribe to the site at https://www.levelextreme.com/Home/DataEntry?Activator=55&NoStore=303
Subscription benefits https://www.levelextreme.com/Home/ViewPage?Activator=7&ID=52
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform