CTRecord.SetDefaultIndex
Syntax
void SetDefaultIndex(int indexno)
void SetDefaultIndex(String name)
Parameters
Description
Sets the new record default index. Unless this function is called, the first index is the default.
Return
None.
Example
myRecord->SetDefaultIndex("name");
// change the default index to "name"
myRecord->First();
// find the first record ordered by "name"
See Also
GetDefaultIndex()