revMoveToRecord | ||||||||||
Type | command | |||||||||
Dictionary | LCS | |||||||||
Library | LiveCode Script | |||||||||
Syntax |
| |||||||||
Associations | database library | |||||||||
Summary | Moves to the specified record in a record set. | |||||||||
Introduced | 3.5 | |||||||||
OS | mac, windows, linux, ios, android | |||||||||
Platforms | desktop, server, mobile | |||||||||
Parameters |
| |||||||||
Example |
| |||||||||
Values |
| |||||||||
Related | Command: revMoveToPreviousRecord, revMoveToNextRecord Function: result, revOpenDatabase Glossary: function, record set Library: Database library | |||||||||
Security | disk, network | |||||||||
Description | Use the revMoveToRecord command to move around within the selected set of records. If the command could not move to the specified record, then the value of the result function will be set to false, otherwise it will be set to true. The revMoveToRecord command is currently supported by MySQL, PostgreSQL and SQLite. On ODBC, it will work providing that a forward only cursor has not been selected. For more information on ODBC Cursor types, please see the revOpenDatabase function. The revMoveToRecord command is not supported by Oracle at the moment and will just return false. If you are using older database drivers (i.e. pre version 3.5), this command will not be supported. The error "revdberr,not supported by driver" will be thrown. |