Category: ZIM 4GL Language Reference

The Original Internet Language

RENAME

Changes the name of certain objects. Syntax RENAME object oldname AS newname [IN directory] Parameters object One of CONSTANT, DIRECTORY, DISPLAY, DOCUMENT, ENTITYSET, FORM, RELATIONSHIP, ROLE, SET, VARIABLE, WINDOW oldname The current name of object. newname The new name for object. The new name must not be the name of an existing object. directory The…
Read more

PAGE LEFT

Specifies the vertical heading for each page in a column-oriented report. Syntax PAGE LEFT reportitem [:format:] Parameters reportitem Any valid expression. Complex expressions must be enclosed in parentheses. When you specify more than one expression, each must be separated from the next by at least one space. format A set of instructions defining the format…
Read more

TRANSACTION

Starts an explicit transaction. Syntax TRANSACTION [READ] Parameters READ This option is ignored. Comments TRANSACTION marks the start of a sequence of commands that are to be handled as a single transaction. The transaction can be terminated either with an ENDTRANSACTION or  with a QUITTRANSACTION command. TRANSACTION sets the system variable $InTransaction to $True. Example…
Read more

GENERATE

Generates application code from a template. Syntax GENERATE zimprog [ (parm)|string ] Parameters zimprog The name of an application document that contains an application program template. parm An expression whose value is to be passed to zimprog. Multiple parameters must be separated from one another by commas. string A string that is passed to zimprog…
Read more

GOTO PREVIOUS

Branches from an exception handler to the command that caused the exception. Syntax GOTO PREVIOUS Comments GOTO PREVIOUS is used only in an exception handler and only to branch to the command that caused the exception to occur. GOTO PREVIOUS exits the exception handler, and closes it in the same way as ENDON. Example Note:…
Read more

PAGE FOOTING

Specifies the page footing for a report. Syntax PAGE FOOTING reportitem [:format:] Parameters reportitem Any valid expression. Complex expressions must be enclosed in parentheses. When you specify more than one expression, each must be separated from the next by at least one space. format A set of instructions defining the format for the associated reportitem.…
Read more

SORT

Sorts the members of an existing result set. Syntax SORT [setname>] BY expression [ASCENDING|DESCENDING] Parameters setname The name of a result set. If setname is not specified, the current set is used. expression An expression that identifies a field to be used as a sort key. Complex expressions must be enclosed in parentheses. ASCENDING or…
Read more

PAGE RIGHT

Specifies the vertical footing for each page in a column-oriented report. Syntax PAGE RIGHT reportitem [:format:] Parameters reportitem Any valid expression. Complex expressions must be enclosed in parentheses. When you specify more than one expression, each must be separated from the next by at least one space. format A set of instructions defining the format…
Read more

DELETE

Deletes data from EntitySets or relationships with fields. Syntax DELETE [num] [setspec] [EVALUATE clause] [-> clause] Parameters num Can be an integer constant (15, 200); a variable, a form field, or a parameter that evaluates to an integer; the word ALL. If num is omitted, or less than 0, it defaults to 1. setspec The…
Read more

ENCRYPT

Encrypts the data in an EntitySet or relationship with fields. Syntax ENCRYPT object Parameters object The name of an EntitySet or a relationship with fields. Can be a role name. Comments The ENCRYPT command makes stored data meaningless to anyone scanning a raw database file on disk, thereby protecting the data from unauthorized access. The…
Read more

en_CAEnglish