![background image](http://html1.mh-extra.com/html/omron/cx-supervisor-script-reference-rev2-0/cx-supervisor-script-reference-rev2-0_reference-manual_744212128.webp)
OMRON
CHAPTER 6 – Functions and Methods
Revision 2.0
Page 115
Remarks
Argument
Type
Description
returnstate
text
The error message from the provider
level
text
A text point or constant specifying the connection level. This
must be a Connection level.
display
bool
Optional flag. By default DBGetLastError will display the
providers error message in a message box. Setting this flag to
FALSE prevents this action.
Typical Examples
DBGetLastError("Northwind")
or
DBGetLastError("Northwind", TRUE)
Both the above lines will get and display the last error to occur for the Northwind connection.
ErrMsg = DBGetLastError("Northwind", FALSE)
The last error to occur for the Northwind connection is stored Text point 'ErrMsg', without displaying
a message box.
DBMove
Description
The DBMove function enables you to navigate around a Recordset by moving the position of the
‘current record’ in the Recordset. When a Recordset is first opened the first record is the current
record.
Syntax
returnstate = DBMove(level, direction, position)
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...