ubase.getNextRecord

Syntax ubase.getNextRecord (fnum, key)

Params fnum is the number which identifies a uBASE database while it is open

key is the key identifying a record

Returns The key to the record following the record identiÞed by key in the database indicated by fnum (see Notes).

Examples key = ubase.getFirstRecord (fnum)
for i = 1 to ubase.countRecords (fnum)
ubase.deleteRecord (fnum, key)

key = ubase.getNextRecord (fnum, key)

Deletes all the records from the database referenced by fnum.

Errors An error is produced if uBASE is not running or if fnum does not identify an open database.

Platform Notes uBASE runs only on Mac OS and is not a supported component of Frontier 5.0,

Notes The records in a uBASE database are ordered arbitrarily. ubase.getNextRecord is part of a method for visiting each record in a database.

If key identifies the last record in the database, this verb returns the empty string. If key does not identify any record in the database, this verb returns the empty string

See Also ubase.getFirstRecord

ubase.getLastRecord

ubase.getPrevRecord

ubase.countRecords

Discuss