CHAPTER 6 – Functions and Methods
Syntax
return = DBState(level, state)
Remarks
Argument
return
level
state
Typical Examples
State = DBState("Invoice", "Closed")
Checks if the Connection "Invoice" is currently closed.
State = DBState("Northwind.Customers", "Open")
Checks if the Recordset "Customers" is currently open.
DBSupports
Description
Returns TRUE if the specified Recordset supports the requested operation.
Syntax
return = DBSupports(level, operation)
Remarks
Argument
return
level
operation
Typical Example
Result = DBSupports("CSV.Recordset1", "Delete")
Checks if records can be deleted in 'Recordset1'
Page 122
Type
bool
1 if the specified level is in the requested state, otherwise 0
text
A text point or constant specifying the connection level. This
may be a Connection or Recordset level.
text
The requested state must be either "Open" or "Closed"
Type
bool
1 if the specified Recordset supports the requested operation,
otherwise 0
text
A text point or constant specifying the connection level. This
must be a Recordset level.
text
The requested operation may be one of:
"AddNew", "Bookmark", "Delete", "Find","MovePrevious" or
"Update"
Description
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?