OpenForm runs the specified form. Although you can use the DO FORM command in a script, that command can't be used for forms contained within SFQuery.exe since it can't access them. In that case, use the OpenForm method.


OpenForm(FormName as String, [, Parameter1 as Variant [, Parameter2 as Variant
    [, Parameter3 as Variant [, Parameter4 as Variant [, Parameter5 as Variant
    [, Parameter6 as Variant [, Parameter7 as Variant [, Parameter8 as Variant]]]]]]]])

The name of the form to run.

Parameter1 through Parameter8
Optional parameters to pass to the Init method of the form.

Return Value

See also

Application Object

© Stonefield Software Inc., 2023 • Updated: 10/02/20
Comment or report problem with topic