Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
OApp.DoForm(myform) or do form myform
Message
From
17/12/1997 16:01:19
 
 
To
17/12/1997 15:58:36
General information
Forum:
Visual FoxPro
Category:
Other
Miscellaneous
Thread ID:
00066716
Message ID:
00066717
Views:
34
>What is the difference between oApp.DoForm(myform) and
>do form myform? they both do the same thing. I am using this
>in the COMMAND line from a MENU.

From the command line, DO FORM will always work while oApp.DoForm will only work if you have instantiated the oApp object.

In an application, it is recommanded to always use a method to load your form, like in oApp.DoForm. This will allow you to centralize the loading process of your form, the count, the relationship, etc.
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
Next
Reply
Map
View

Click here to load this message in the networking platform