Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Passing object as a parameter
Message
From
03/04/1997 17:16:46
 
 
To
03/04/1997 17:12:16
General information
Forum:
Visual FoxPro
Category:
Other
Miscellaneous
Thread ID:
00026905
Message ID:
00026912
Views:
32
>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
Previous
Reply
Map
View

Click here to load this message in the networking platform