goform
FORM
,
OPTION
,
VALUE

The goform statement switches the current window to a different form.


Parameters

This statement has three parameters:

form – is the name of the form to switch to.

option – in addition to the form name, this statement can have one or more additional option/value parameter pairs that modify the operation of the statement Each pair has two parts, the option name (this parameter) and the option value. See the discussion below for more information.

value – option value.


Description

This statement switches to a different form in the current window. If the specified form is already open, it is simply brought to the front. This example switches the current window to show the New Account form.

goform "New Account"

Note: In Panorama 6 and earlier versions of Panorama, you could switch from any type of window to a form window. This is no longer possible – you can only switch between form windows.

Options

In addition to the procedure name, this statement can have one or more additional option/value parameter pairs that modify the operation of the statement. Each pair has two parts, the option name (this parameter) and the option value, like this:

goform name,option,value,option,value,option,value

The available options are described below.

Title

To customize the window title, use the title option. (The title normally displays the database and form name.) This example switches to the New Account form, and switches the window title to New User Account.

goform "New Account","Title","New User Account"

If you want to change the title later, use the windowname statement.


See Also


History

VersionStatusNotes
10.0UpdatedCarried over from Panorama 6.0, but now only works if the current window is already displaying a form.