Omron CX-SUPERVISOR - SCRIPT REFERENCE REV2.0 Reference Manual page 128

Script language
Table of Contents

Advertisement

OMRON
Remarks
Argument
returnstate
level
display
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)
Revision 2.0
Type
text
The error message from the provider
text
A text point or constant specifying the connection level. This
must be a Connection level.
bool
Optional flag. By default DBGetLastError will display the
providers error message in a message box. Setting this flag to
FALSE prevents this action.
CHAPTER 6 – Functions and Methods
Description
Page 115

Hide quick links:

Advertisement

Table of Contents
loading
Need help?

Need help?

Do you have a question about the CX-SUPERVISOR - SCRIPT REFERENCE REV2.0 and is the answer not in the manual?

Questions and answers

This manual is also suitable for:

Cx-supervisor 2.0

Table of Contents