revMoveToLastRecord

Typecommand
DictionaryLCS
LibraryLiveCode Script
Syntax
revMoveToLastRecord <recordSetID>
Associationsdatabase library
Summary

Moves to the last record of a record set (glossary).

Introduced2.0
OSmac, windows, linux, ios, android
Platformsdesktop, server, mobile
Parameters
NameTypeDescription
recordSetID

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

Example
revMoveToLastRecord mySearch
Values
NameTypeDescription
The result

If the command could not move to the last record because there are no records in the record set, the result function returns an error message that begins with the string "revdberr".

RelatedKeyword: string
Glossary: LiveCode custom library, Standalone Application Settings, record, command, record set, standalone application, database
Command: revMoveToNextRecord
Function: revdb_movefirst, revdb_moveprev, revdb_movelast, revDatabaseColumnNumbered, revdb_movenext
Library: Database library
Control Structure: function
Securitydisk, network
Description

Use the revMoveToLastRecord command to move around within the selected set of records.

Note: Not all databases support the revMoveToLastRecord command. Currently, the revMoveToLastRecord command is not supported by Oracle databases and certain ODBC data sources.

Important: The revMoveToLastRecord command is part of the Database library. To ensure that the command 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