RunForm method (WinStudio scripts)

Applies To

IWSApplication interface

Definition

Initiates a call to run a specified form and returns a Boolean value indicating whether the call was successful.

Run Syntax

Application.RunForm( string )

  Part   Description
string Required. The name of the form to run.

Remarks

The return value indicates only whether the call to the form was successful, not whether the system subsequently opened the form successfully. If, for example, a user is not authorized to open a form, this method still considers the call successful, even though the form is not actually opened.

Example

Sub Main()
   Application.RunForm("myForm")
End Sub