Product Documentation

c-treeDB API for C# - Developers Guide

Previous Topic

Next Topic

Terminating a Record Set

Once the record set is no longer necessary, you can turn it off by calling CTRecord.RecordSetOff().

// terminate the record set

try

{

ARecord.RecordSetOff();

}

catch (CTException err)

{

Console.Write("Record set off failed with error {0}\n", err.GetErrorCode());

}

Once the record set is terminated, CTRecord.First(), CTRecord.Next(), CTRecord.Last() and CTRecord.Prev() will return all records of a table.

TOCIndex