ODBCMove
Moves the current record pointer within a record set, either forward or backward.
| Function
| Group
| Execution
| Windows
| Embedded
| Thin Client
| Mobile Access
|
| ODBCMove | ODBC
| Synchronous
| Supported
| Not supported
| Executed on Server
| Not supported
|
Description
Moves the current record pointer within a record set, either forward or backward.
Syntax
- numHandler
- The handler returned by the ODBCOpen function.
- numOffset
- The number of rows to move forward or backward:
- Positive values move forward, toward the end of the record set.
- Negative values move backward, toward the beginning of the record set.
- A value of 0 refreshes the current record.
Returned value
| 0
| Success
|
| 1
| Invalid handler
|
| 2
| Database not open
|
| 3
| Move error
|
Examples
| Tag Name
| Expression
|
| Tag
| ODBCMove( 2, 3 ) |
| Tag
| ODBCMove( 8, 2 ) |
ODBCMove