The TIBCTable component provides limited compatibility with BDE and IBX table components.
The limitations include not supporting any table structure modification including Table creation, Index modification and other.
We will consider adding possibility of reading IndexDefs from server in one of the next IBDAC builds.
Now you should use special SQL query to obtain such information. For example:
Code: Select all
Select I.RDB$INDEX_NAME, I.RDB$UNIQUE_FLAG,
I.RDB$INDEX_TYPE, I.RDB$SEGMENT_COUNT, S.RDB$FIELD_NAME from RDB$INDICES I,
RDB$INDEX_SEGMENTS S where I.RDB$INDEX_NAME = S.RDB$INDEX_NAME
and I.RDB$RELATION_NAME = 'THE_NAME_OF_THE_TABLE'
where THE_NAME_OF_THE_TABLE is your table name. You can run this query with TIBCQuery, and
analyze retrieved data.