After migration code from older ODAC (6.70.0.45 on Delphi 2009) to newer one (9.4.14 on Delphi XE7) I have a problem with virtual method GetFieldClass in TSmartQuery class (defined in TMemDataSet descendant).
In short, it is not fired on newer version.
I have a descendant of TSmartQuery with overridden GetFieldClass function:
Code: Select all
function GetFieldClass(FieldType: TFieldType): TFieldClass; override;
In Delphi XE7|Odac 9.4 it is not.
I have a problem to find any documentation about this function - it is mentioned only once (in 2006) on forum.
Question:
1. Why GetFieldClass is not fired?
2. Where should I look for a documentation about this function?
Best regards,
Tomasz
p.s.
in first version of this post I have misspelled function name:
wrong: GetClassField
correct: GetFieldClass