Product Documentation

c-treeDB API for C++ - Developers Guide

Previous Topic

Next Topic

CTRecord::GetDefaultIndexName

Syntax

CTString GetDefaultIndexName( )

Parameters

This method has no parameters.

Description

Retrieves the default record index name.

Return

GetDefaultIndexName() returns the default index name.

Example


if ("name" == pRec->GetDefaultIndexName())

{

pRec->Clear();

pRec->SetFieldAsString("name", "Peter Thorn");

pRec->Find(CTFIND_EQ);

}


See also

GetDefaultIndex(), SetDefaultIndex()

TOCIndex