![background image](http://html1.mh-extra.com/html/omron/cx-supervisor-script-reference-rev2-0/cx-supervisor-script-reference-rev2-0_reference-manual_744212133.webp)
CHAPTER 6 – Functions and Methods
OMRON
Page 120
Revision 2.0
Remarks
Argument
Type
Description
returnstate
bool
1 if the function is successful otherwise 0
level
text
A text point or constant specifying the connection level. This
may be a Recordset or Field level.
reset
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.
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...)
Содержание CX-SUPERVISOR - SCRIPT REFERENCE REV2.0
Страница 2: ...CX Supervisor Script Language Software Revision 2 0...
Страница 3: ......
Страница 5: ...CX Supervisor Script Language OMRON Page ii Revision 2 0...
Страница 7: ...CX Supervisor Script Language OMRON Page iv Revision 2 0...
Страница 9: ...CX Supervisor Script Language OMRON Page vi Revision 2 0...
Страница 13: ......
Страница 15: ...CHAPTER 1 Introduction OMRON Page 2 Revision 2 0...
Страница 19: ...CHAPTER 2 Expressions OMRON Page 6 Revision 2 0...
Страница 21: ...CHAPTER 3 Scripts OMRON Page 8 Revision 2 0...
Страница 151: ...CHAPTER 8 Colour Palette OMRON Page 138 Revision 2 0...