revdb_movelast

Typefunction
DictionaryLCS
LibraryLiveCode Script
Syntax
revdb_movelast(<recordSetID>)
Associationsdatabase library
Summary

Executes the revMoveToLastRecord command.

Introduced1.1
OSmac, windows, linux, ios, android
Platformsdesktop, server, mobile
Parameters
NameTypeDescription
recordSetID

The number returned by the revQueryDatabase or revQueryDatabaseBLOB function when the record set was created.

Example
revdb_movelast(mySearch)
Values
NameTypeDescription
return

The revdb_movelast function returns true if it successfully moved to the last record, false if it could not move to the last record because there are no records in the record set.

RelatedGlossary: 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
Securitydisk, network
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 executing 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 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.

Tagsdatabase