# Metadata
Platforms: desktop, server, mobile OS: mac, windows, linux, ios, android Introduced: 1.1 Security: disk, network
# Syntax
revdb_movelast(recordSetID)
# Params
- recordSetID : The number returned by the revQueryDatabase or revQueryDatabaseBLOB function when the record set was created.
# Examples
revdb_movelast(mySearch)
# Description
Use the revdb_movelast function to move around within the selected set of records.
Evaluating the revdb_movelast function has the same effect as execute the revMoveToLastRecord command. The only difference is that one is a function call and the other is a command.
>*Important:* The revdb_movelast function is part of the > Database library. To ensure that the function works in a > standalone application, you must include this > LiveCode custom library when you create your > standalone application. In the Inclusions pane of the > Standalone Application Settings window, make sure both the > "Database" library checkbox and those of the database drivers you are > using are checked.
# Tags
# See
- **glossary:** LiveCode custom library, execute, record set, record, Standalone Application Settings, standalone application, function call, command - **command:** revMoveToLastRecord, revMoveToFirstRecord, revMoveToNextRecord - **function:** revCurrentRecord, revCurrentRecordIsFirst, revCurrentRecordIsLast - **library:** Database library - **control structure:** function