Category: ZIM 4GL Language Reference

The Original Internet Language

$MemberCount

The number of records processed by the most recent set-processing command. Syntax $membercount Return Value A number. Can be reset by an application program. Description The number of records processed by the most recent set-processing command. See Also ADD CHANGE COMPUTE DELETE FIND INSERT LIST REPORT FROM SELECT SORT UPDATE System Variables

$printersetup

Displays the Printer Setup common dialog box. Syntax $printersetup() Return Value Evaluates to “1” ($True) if no errors were detected in the dialog. Otherwise, evaluates to “0” ($False). Comments This function is available only on Windows systems. The Printer Setup common dialog box contains a list of printers mounted to your Windows network. To access…
Read more

SET DOCUMENT FORMAT

Sets the format of the application document. Syntax SET DOCUMENT FORMAT UTF-8|ANSI|DBCHARSET Parameters UTF-8 Selects the UTF-8 character set and writes a UTF-8 BOM at the beginning of the file. ANSI Selects the ANSII character set. DBCHARSET Selects the character set used by the current database. Comments Identifies the character set used by application documents.…
Read more

$SetCount

The number of records found by the last FIND command. Syntax $setcount Return Value A number. Can be reset by an application program. Description The number of records in the result set produced by the most recent FIND command. Example find Students where GradePt = 4.00 Produces a set of Students whose GradePt is 4.00.…
Read more

ROLLBACK WORK

Marks the end of a transaction, discarding the results. Syntax ROLLBACK WORK Comments The ROLLBACK WORK command is the SQL equivalent of the QUITTRANSACTION command. The value of the system variable $InTransaction indicates if an explicit transaction is in progress; the ROLLBACK WORK command sets $InTransaction to 0 ($False).   See Also $InTransaction BEGIN WORK…
Read more

ENDTRANSACTION

Marks the end of an explicit transaction. Syntax ENDTRANSACTION Comments The ENDTRANSACTION command marks the end of an explicit transaction in progress and commits the changes made during the transaction. Portions of the database that were not available to other users become available. The ENDTRANSACTION command sets $ InTransaction to $False.   See Also BEGIN…
Read more

SET MESSAGES WINDOW

Activates or deactivates the use of the message window for system messages. Syntax SET MESSAGES WINDOW ON|OFF Comments The MESSAGES WINDOW option is set OFF by default. When MESSAGES WINDOW is OFF, system messages are displayed line-by-line in the application window (BACKSCREEN). By setting MESSAGES WINDOW ON, you enable a pop-up window for the display…
Read more

$CursorScreenCol

The location of focus on the screen when an event occurs. Syntax $cursorscreencol Return Value The number of the character column where focus is located on the terminal screen at the time of an event. Can be reset by an application program. Description The number of the character column where focus was located on the…
Read more

SET CURRENTSET

Makes a specified result set the current set. Syntax SET CURRENTSET setname Parameters setname The name of an existing result set. Comments Normally, the current set is the result set produced as a result of the last FIND command executed. SET CURRENTSET enables you to select another existing result set to use as the current…
Read more

$ObjGetProperty

Get the properties of an ActiveX object. Syntax $ObjGet[Property] (Object, PropertyName,<>) Parameters Object an object variable or formfield of type OLE PropertyName a string or an expression that evaluates to a string Parameters optional parameters as per the object’s specifications Return Value Returns a result that can be a string or an ActiveX object. Comments…
Read more

en_CAEnglish