Forms homecontents start chapter top of pagebottom of pagenext page indexRunning FORMS

Running SirForms

When SirForms is run, a number of parameters can be specified. At a minimum, the name of the input file containing the form must be specified using either CMP= for source or FRM= for compiled. If this is omitted, a CMP source input is prompted for.

Separate parameters with slashes ( / ) or spaces.

Execution parameters

The following parameters can be specified:

COMPILE | CMP = filename with source text
EDIT = YES | NO
ERRORFILE = filename for any compilation errors
EXPERT
FORM | FRM = filename of compiled form
GRPNAM = groupname
GRPPAS = password
LISTING = filename
NOEXECUTE
NUMSCR = n
PREFIX = database path
PRINT = filename
PS = n
PW = database password
RS = read password
TMPLTSCR = filename
USRNAM = username
USRPAS = password
WD = n
WS = write password

CENY=yyyy

COMPILE | CMP
EDIT
ERRORFILE
EXPERT
FORM | FRM
GRPNAM
GRPPAS
LISTING | LIST | OUT
NOEXECUTE
NUMSCR
PRINT
PREFIX
PW
RS
TMPLTSCR
USRNAM
USRPAS
WS

Examples of running SirForms

In these examples, the command SirForms and the parameter separator is a blank. The following are typical examples of executing SirForms.

SirForms CMP=MYFORM.cmp LISTING=OUTPUT.LST
This compiles a form from MYFORM.cmp, produces a listing on OUTPUT.LST and executes the compiled form if there are no errors.

SirForms CMP=MYFORM.cmp FRM=MYFORM.frm NOEXECUTE
This compiles a form, stores a compiled version of the form on MYFORM.frm and does not execute the form.

SirFormsFRM=MYFORM.frm
This executes a previously compiled and saved form from MYFORM.frm.

homecontents start chapter top of pagebottom of pagenext page index