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.
The number of records processed by the most recent set-processing command.
$membercount
A number. Can be reset by an application program.
The number of records processed by the most recent set-processing command.
Displays the Printer Setup common dialog box.
$printersetup()
Evaluates to “1” ($True) if no errors were detected in the dialog. Otherwise, evaluates to “0” ($False).
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 printers not listed in the dialog box, see your system administrator.
Sets the format of the application document.
SET DOCUMENT FORMAT UTF-8|ANSI|DBCHARSET
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. |
Identifies the character set used by application documents.
See Also
The number of records found by the last FIND command.
$setcount
A number. Can be reset by an application program.
The number of records in the result set produced by the most recent FIND command.
find Students where GradePt = 4.00
Produces a set of Students whose GradePt is 4.00. If the set contains three students whose grade point average is 4.00, then $SetCount would be set to 3.
Marks the end of a transaction, discarding the results.
ROLLBACK WORK
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).
Marks the end of an explicit transaction.
ENDTRANSACTION
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.
Activates or deactivates the use of the message window for system messages.
SET MESSAGES WINDOW ON|OFF
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 of all system messages that are not currently suppressed.
See Also
The location of focus on the screen when an event occurs.
$cursorscreencol
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.
The number of the character column where focus was located on the terminal screen at the time of an event.
Makes a specified result set the current set.
SET CURRENTSET setname
setname | The name of an existing result set. |
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 set.
The SET CURRENTSET command takes effect immediately upon parsing or compilation, not just when the compiled program is executed.
The SET CURRENTSET command is not affected by the SET RESET and SET RESTORE commands.
procedure test3 (a,b)
if a = b
find Employees -> EmpSet
else
find Departments -> DeptSet
endif
if a = b
set currentset EmpSet
let a = LastName
endif
The SET CURRENTSET command ensures that the correct set is recognized as the current set.
Get the properties of an ActiveX object.
$ObjGet[Property] (Object, PropertyName,<>)
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 |
Returns a result that can be a string or an ActiveX object.
If a parameter’s name is “Picture” then the parameter should be named. For more information, see $ObjRunMethod function. Zim has extended object properties with left, top, width and height options (integers) and AutoDrag (boolean).
COM objects are being discontinued by Microsoft and may not be available in future releases of Zim-X.