OMRON
Property
"CurrentRecord"
"RecordCount"
"Bookmark"
"PageCount"
"PageSize"
"CurrentPage"
"Source"
"Sort"
"FieldCount"
"BOF"
"EOF"
Field Properties
The properties of a Field are
Property
"Value"
"Name"
"Type"
"Size"
DBRead
Description
Reads a record from a Recordset to the associated point(s), or if associated points are array points,
reads a whole page of records. This function operates on both Recordset and Field levels. At the
Field level the associated column values from the Recordsets current position will be copied into the
Point (number of elements copied = number of elements in the Point, no paging applies at the Field
level).
Syntax
returnstate = DBRead(level, reset)
Revision 2.0
Description
Current cursor position
Number of records in the Recordset.
Record marker.
Number of pages in the Recordset.
Number of records in a page.
Page in which the cursor position resides.
Command or SQL that created the Recordset.
Field name(s) the Recordset is sorted on.
Number of fields(columns) in the Recordset.
Current position is at the start of the Recordset.
Current position is at the end of the Recordset.
Description
Value of the field at the current position.
Name of the Field.
The fields data type.
Maximum width of the field.
CHAPTER 6 – Functions and Methods
Return type
Integer
Integer
Real
Integer
Integer
Integer
Text
Text
Integer
Bool
Bool
Return type
As type of field
String
String
Integer
Page 119
Need help?
Do you have a question about the CX-SUPERVISOR - SCRIPT REFERENCE REV2.0 and is the answer not in the manual?
Questions and answers