Name: revdb_movenext

Type: function

Syntax: revdb_movenext(<recordSetID>)

Summary: <execute|Executes> the <revMoveToNextRecord> <command>.

Introduced: 1.1

OS: mac,windows,linux,ios,android

Platforms: desktop,server,web,mobile

Security: disk,network

Example:
revdb_movenext(line x of field "Current Recordsets")

Parameters:
recordSetID: The number returned by the revQueryDatabase or revQueryDatabaseBLOB function when the record set (database cursor) was created.

Returns: The <revdb_movenext> <function> returns true if it successfully moved to the next <record>, false if it could not move to the next <record> because it's already at the end.

Description:
Use the <revdb_movenext> <function> to move around within the selected set of <record|records>.

Evaluating the <revdb_movenext> <function> has the same effect as <execute|executing> the <revMoveToNextRecord> <command>. The only difference is that one is a <function call> and the other is a <command>.

>*Important:*  The <revdb_movenext> <function> is part of the <Database library>. To ensure that the <function> works in a <standalone application>, you must include this <Revolution custom library|custom library> when you create your <standalone application|standalone>. In the Inclusions section of the General screen of the <Standalone Application Settings> window, make sure the "Database Support" checkbox is checked and the database drivers you are using are selected in the list of database drivers.

References: Database library (library), Revolution custom library (library), revMoveToLastRecord (command), revMoveToFirstRecord (command), revMoveToNextRecord (command), revCurrentRecord (function), revCurrentRecordIsFirst (function), revCurrentRecordIsLast (function), record (glossary), Standalone Application Settings (glossary), command (glossary), standalone application (glossary), execute (glossary), function call (glossary), function (control_st)

Tags: database
