Hi,
after upgrating to v2 i noticed that property GetFieldDesc().TableName does not exit. I am using this property to get the table name from a TIBCQuery based on the KeyFields property. This functionallity is important to my framework. Is there another way to get the table name from a TIBCQuery ? I cannot use UpdatingTable property as it is designed for a different purpose.
Problem after upgrading to IbDac v2
You can use TableInfo.TableName for IBDAC 2. For example:
TableInfo = nil for fields that don't have corresponding table. TCRFieldDesc type is declared in CRAccess unit.
Code: Select all
var
FieldDesc: TCRFieldDesc;
begin
FieldDesc := TCRFieldDesc(IBCQuery1.GetFieldDesc(1));
if FieldDesc.TableInfo nil then
TableName := FieldDesc.TableInfo.TableName;
end;