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.

Syntax

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]]]]]]]])

Parameters
FormName
The name of the form to run.

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

Return Value
None.

See also

Application Object

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