CHAPTER 6 – Functions and Methods
OMRON
Page 118
Revision 2.0
DBProperty
Description
Returns the requested property. This function operates on the Recordset and Field levels. The type
of the value returned depends on the property requested.
Syntax
returnstate = DBProperty(level, property)
Remarks
Argument
Type
Description
returnstate
Property value returned. See table for type.
level
text
A text point or constant specifying the connection level. This
may be a Recordset or Field level.
property
text
The name of the property to get. For details see the Recordset
Properties and Field Properties tables.
Typical Examples
Page = DBProperty("CSV.Result", "CurrentPage")
Get the current page for the CSV.Result Recordset.
FieldSize = DBProperty("Northwind.Customers.Address", "Size")
Get the size for the 'Address' field.
Note:
The Recordset will only return valid properties when it is Open.
Recordset Properties
The properties of a Recordset are:
Summary of Contents for CX-SUPERVISOR - SCRIPT REFERENCE REV2.0
Page 2: ...CX Supervisor Script Language Software Revision 2 0...
Page 3: ......
Page 5: ...CX Supervisor Script Language OMRON Page ii Revision 2 0...
Page 7: ...CX Supervisor Script Language OMRON Page iv Revision 2 0...
Page 9: ...CX Supervisor Script Language OMRON Page vi Revision 2 0...
Page 13: ......
Page 15: ...CHAPTER 1 Introduction OMRON Page 2 Revision 2 0...
Page 19: ...CHAPTER 2 Expressions OMRON Page 6 Revision 2 0...
Page 21: ...CHAPTER 3 Scripts OMRON Page 8 Revision 2 0...
Page 151: ...CHAPTER 8 Colour Palette OMRON Page 138 Revision 2 0...