Categoria: ZIM 4GL Language Reference

The Original Internet Language

$messagebox

Presents a message box to the application user and waits for a response. Syntax $messagebox(message,type,style,defaultbutton[,heading]) Parameters message A character string, or an expression that evaluates to a character string. type A number that determines the type of message box. It also determines the icon that appears in the message box. style A number that determines the…
Leia mais

$filebrowse

Presents the application user with a File Open common dialog box. Syntax $filebrowse(directorypath, pattern, flags ,[heading]) Parameters directorypath A character string or an expression that evaluates to a character string, naming the default directory path to show in the dialog box. If path is the null string (”), the current directory is used as the…
Leia mais

Set Specification (ISQL)

Identifies particular records in an SQL database. Syntax Object [WHERE clause] [GROUP BY expr1] [HAVING expr2] [ORDER BY expr3 [ASC|DESC]] [KEEP component] Parameters object The name of an EntitySet, relationship, form, structured application document, or result set. Role names can be used for EntitySets and relationships. expr1 A value expression. Specifies how the selected records…
Leia mais

SET (EntitySet/Data Relationship Attribute)

SET (EntitySet/Data Relationship Attribute) Modifies the value of an attribute of a database object. Syntax SET tablename tabletype [ “ZIMSERV” | “JDBCSAM” | alias name ] SET tablename [ remname |  remowner ] value SET fieldname [ remname ] value tablename is the name of an EntitySet or data relationship fieldname is the name of…
Leia mais

REPORT FROM

Selects data for a report and specifies overall report format. Syntax REPORT [num] FROM [setspec] [GRAPHIC [TEMPLATE name]] [orientation] [PAUSE n] [format options] [-> clause] Parameters num Places a limit on the number of records from setspec used in the report. Num can be an integer constant (e.g., 15, 200), a variable, form field, menu…
Leia mais

$getproperty

Returns the current settings of certain device or registry properties. Syntax #1 Returns the current settings of certain desktop properties. $getproperty(“desktop”,property) Parameters property A character string or an expression that evaluates to a character string. Properties include MousePresent, ScreenColors (or ScreenColours), ScreenHeight, ScreenUnits, and ScreenWidth. Return Value Character string or $null if property is not…
Leia mais

CREATE

Creates an object in an application directory. Syntax #1 Creates an object in an application directory. CREATE object name [IN dirname][$fn <filenumber>] [DELETE | KEEP] CREATE object name [IN dirname] Parameters object [one_fourth] One of constant, directory, display, document, entityset, form, menu, relationship, role, set, variable, window name The name to be given to object.…
Leia mais

IF

Enables conditional execution of commands. Syntax IF expression1 commands1 [ ELSEIF expression2 commands2] [ELSE commands3] ENDIF Parameters expression1 and expression2 Logic expressions (using conditional or Boolean operators). commands1 Commands to be executed if expression1 is logically true. Execution then resumes at the first command following ENDIF. commands2 Commands to be executed if expression1 is false…
Leia mais

CREATE MEMORY SET

Creates a memory set based on the telemetry from a connector. Syntax CREATE MEMORY SET FROM «connector document» Parameters connector document The name of a connector document. Comments The CREATE MEMORY SET command converts the information in a 1202 message into an in memory zim EntitySet. It creates the set and field definitions at run…
Leia mais

BREAK (Reports)

Breaks the body of a report into summary groups. Syntax BREAK level expression \ [HEADING [orientation] reportitem \ [:format:] [WHERE Boolean Expression]] \ [FOOTING [orientation] reportitem [:format:] \ [WHERE Boolean Expression>] Parameters level The break level number (an integer greater than or equal to zero). In the hierarchy of breaks, the higher the level number,…
Leia mais

pt_BRPortuguese