revQueryIsAtStart

Typefunction
DictionaryLCS
LibraryLiveCode Script
Syntax
revQueryIsAtStart(<recordSetID>)
Synonymsrevdb_isbof
Summary

Returns whether the beginning of a record set has been reached or not.

Introduced2.9
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
repeat until revQueryIsAtStart(tCursor)
  ...
  revMoveToPreviousRecord tCursor
end repeat
Values
NameTypeDescription
return

The revQueryIsAtStart function returns true if the revMoveToPreviousRecord command has been called with the cursor pointing to the first record.

RelatedKeyword: string
Command: revMoveToPreviousRecord
Function: revOpenDatabase, revCurrentRecord, revQueryDatabase, revCurrentRecordIsFirst, revQueryIsAtEnd
Glossary: command
Securitydisk, network
Description

Use the revQueryIsAtStart function to stop when you reach the start of a record set.

If the operation is not successful, the revQueryIsAtStart function returns an error message that begins with the string "revdberr".