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)
Содержание 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...