revdb_movefirst
Type
function
Summary
Executes the revMoveToFirstRecord command.
Syntax
revdb_movefirst(<recordSetID>)
Description
Use the revdb_movefirst function to move around within the selected set of records.
Evaluating the revdb_movefirst function has the same effect as executing the revMoveToFirstRecord command. The only difference is that one is a function call and the other is a command.
The revdb_movefirst function is part of the Database library. To ensure that the function works in a standalone application, you must include this custom library when you create your standalone. 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.
Parameters
Name | Type | Description |
---|---|---|
recordSetID | The number returned by the revQueryDatabase or revQueryDatabaseBLOB function when the record set was created. |
Examples
revdb_movefirst(savedResults)
Related
command: revMoveToLastRecord, revMoveToFirstRecord, revMoveToNextRecord
control structure: function
function: revCurrentRecord, revCurrentRecordIsFirst, revCurrentRecordIsLast
glossary: LiveCode custom library, execute, record set, record, Standalone Application Settings, standalone application, function call, command
library: Database library
Compatibility and Support
Introduced
LiveCode 1.1
OS
mac
windows
linux
ios
android
Platforms
desktop
server
mobile