Product Documentation

c-treeDB API for C++ - Developers Guide

Previous Topic

Next Topic

CTRecord::Next

Syntax

CTBOOL Next( )

Parameters

This method has no parameters.

Description

Moves to the next record in the table. Before calling Next for the first time in a table, one of the Record search methods must be used: Find() or First().

Return

Next() returns YES if the record is found, NO otherwise.

Example


pRec->First();

do {

printf("\nName: %s", pRec ->

GetFieldAsString("name").c_str()); }

while (pRec->Next());


See also

First(), Prev(), Last(), Find()

TOCIndex