Product Documentation

c-treeDB API for C# - Developers Guide

Previous Topic

Next Topic

CTRecord.Next

Syntax

bool 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 true if the record is found, false otherwise.

Example

pRec->First();

do {

Console.Write("\nName: {0}", pRec ->

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

while (pRec->Next());

See Also

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

TOCIndex