It seems that the Size field shoud be 0 (zero) for numeric fields...
The size property of TField have different meanings for the different
field types.
So, you should not set the size property of an Integer field to anything
(the default 0 value is correct).
Hope this helps.
Horacio
As you can see problem is with setting TField.Size to 8 for ftInteger
field , but I've also modified code to force Size of ftInteger to 4
and error still persisted.
questions:
Is that a bug inside fields.inc or just a calling layer must prepare
TFieldDef to avoid this exception ? Is that a known problem ?
Regards
Boguslaw Brandys
_________________________________________________________________
To unsubscribe: mail [EMAIL PROTECTED] with
"unsubscribe" as the Subject
archives at http://www.lazarus.freepascal.org/mailarchives