CHAPTER 6 – Functions and Methods
Remarks
Argument
returnstate
level
reset
Typical Examples
DBRead("Northwind.Customers")
Read the next page of records from the 'Customers' Recordset.
DBRead("Northwind.Customers", FALSE)
Read the next page of records from the 'Customers' Recordset, and leave the cursor at the next record.
DBRead("Northwind.Customers.Address")
The Address field is read. If it is an array point, the Address is read from subsequent records until the
array has been filled.
Note:
Use with reset = TRUE is useful if the read operation is being combined with a
subsequent Write operation i.e. you can read in a set of records - resetting the cursor,
make modifications to some of the fields and then Write the changes back to the
Recordset.
Note:
Use with reset = FALSE will leave the current position at the start of the next set of
records. This option can be of benefit if the Provider only supports forward moving
cursors, or you simply want to step through the records a page at a time.
DBSchema
Description
Issues commands to read schema results or properties or set up new schema criteria. This function
operates only at a Schema level.
Syntax
return = DBSchema(level, command, parameters...)
Page 120
Type
bool
1 if the function is successful otherwise 0
text
A text point or constant specifying the connection level. This
may be a Recordset or Field level.
bool
This argument is optional and may be omitted. If omitted or
TRUE, when the read is complete the record cursor is reset to
the position prior to reading.
Description
Revision 2.0
OMRON
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