A script-enabled browser is required for this page to function properly.

About Forms Parameters

Parameters provide a simple mechanism for defining and setting the values of inputs that are required by a form at startup. Form parameters are variables of type CHAR, NUMBER, or DATE that you define at design time.

You can pass parameter values to a form when an application executes the CALL_FORM, NEW_FORM, OPEN_FORM, or RUN_PRODUCT Built-in subprograms.

Operators can specify values for form parameters at form startup by entering them on the command line, using standard command line syntax.

A parameter value entered on the command line overrides the default value that was specified for the parameter at design time.

In the following example, MODULE, USERID, and DEBUG are pre-defined command line parameters; CITY is a user-defined form parameter that was defined in the trade form at design time:

frmweb MODULE=trade USERID=scott/tiger debug=YES city="BOGOTA"

Note: A parameter must have been defined at design time before you can specify a value for it at form startup. That is, the form must be expecting the parameter value it receives at startup, either through the command line or by way of a parameter List. If you attempt to pass a value for a parameter that does not exist in the form, an error occurs.


Specifying Parameter Attributes

Comparing Global, Parameter, and Package Variables