ui.Form.open()

variable.Open("form file" [, "form alias"])

This method is used with a variable of the FORM data type to open a form from a form file. It initializes the FORM variable and allows the programmer to use other methods to manipulate this form.

Usage

This method takes two parameters. The first parameter is the filename - the name of the form file without the extension but with a relative path, if needed. It can be either a quoted character string or a character variable. The second parameter is the form alias which is also either a character string or a character variable representing the form name, and is optional. It is used to reference the form in a script file (.qxs file). If the alias is not provided, the form can be referenced based on the name of the file without the file extension.

CALL form_v.Open("form_file002", "my_form")