Delphi Examples: DbiGetIndexSeqNo

<< Click to Display Table of Contents >>

Navigation:  »No topics above this level«

Delphi Examples: DbiGetIndexSeqNo

Return to chapter overview

Return the index sequence number for the current index. This example only works with Paradox and SQL tables and uses the following input:

 IXNum := fDbiGetIndexSeqNo(InterBaseCustTbl);

 

The function is:

function fDbiGetIndexSeqNo(Table: TTable): Word;

begin

 Check(DbiGetIndexSeqNo(Table.Handle, PChar(Table.IndexName), nil, 0, Result));

end;