Advantage TDataSet Descendant
Determines if the given index order is from a compound index file.
function AdsIsIndexCompound : Boolean;
AdsIsIndexCompound will return True only if the index order specified is in a compound index file (a Foxpro-compatible CDX file or Advantage proprietary ADI file). Indexes built with NTX and FoxPro-compatible IDX files are not compound indexes.
AdsTable1.Exclusive := TRUE;
AdsTable1.Active := TRUE;
AdsTable1.AdsCreateIndex( '', 'Tag1', 'FirstName', '', '', [ optCOMPOUND ] );
AdsTable1.IndexName := ‘Tag1’;
bIsCompound := AdsTable1.AdsIsIndexCompound;
{ bIsCompound equals True since within a compound index }