Unitable isindex and lookup do not work

Unitable isindex and lookup do not work

Hello,

i am using a UniDac UniTable to access a SQL server database.

To view the structure of the table i need to know which fields are index fields and which ones are lookup connections.

The tunitable has two properties which should give this information: isindexfield and lookup.

Hence in my project the isindexfield is always false and lookup seems to be always. In the SQL server it self i can the defined index fields.

Am i missing something here or how do i get it to work?

str := booltostr(unitablesource.Fields[counterfields].IsIndexField);