![]() | ||
| Forms | ![]() ![]() ![]() ![]() | Running FORMS |
CMP=
for source or FRM= for compiled.
If this is omitted, a CMP source input is prompted for.Separate parameters with slashes ( / ) or spaces.
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
The default is 1920.
To illustrate the calculation, assume the default setting of 1920. Then any input year in the range 00 - 19 is assigned a century of 20nn; any input year in the range 20 - 99 is assigned a century of 19nn.
All variables defined as dates are held internally as a number of days since the start of the Julian calendar on Oct 15 1582.
COMPILE | CMP CMP is the
abbreviation.EDIT=YES) or whether a complete field must be re-entered
(=NO). YES is the defaultERRORFILE OUT= is specified, errors are written to
that along with other messages. If neither parameter is specified and
compilation errors occur, messages are written to
SirForms.err.EXPERTFORM | FRM COMPILE
parameter, the form is saved in compiled format on the file specified.FRM parameter is used without the
CMP parameter, the file specified is accessed and
executed. If neither FRM nor CMP is
specified, SirForms prompts for the file name of the source file.
FRM is the abbreviation.GRPNAMGROUP NAME. If the form has group
names specified and GRPNAM is not supplied, it is prompted
for.GRPPASGRPNAM parameter.LISTING | LIST | OUT LISTING = is not specified, error messages are written to the
error file or to the screen depending on whether these are compile or run time errors.
LIST and OUT are alternates.NOEXECUTENUMSCRPRELOAD and
KEEP clauses on the screen commands (MENU, RECORD,
TABLE, and HELP) to control screen caching.PRINTPRINT
command. If the user then issues a PRINT command,
all pages in the current
screen are written to this file as text. PREFIXPWRS READ security level password.TMPLTSCRUSRNAMGRPNAM parameter.USRPASUSRNAM parameter.WSWRITE security level password.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.
![]() ![]() ![]() ![]() |