Marco van de Voort wrote:
TField.Size is the declared size in characters.
The question is if it still does in D2009. I doubt it. I think it is
encoding-base unit. (1 or 2)
I do not have D2009, but the D2009 online help clearly states that the Size
property is in characters for string type fields.
TField.Size, and then read about ftString:
http://docs.embarcadero.com/products/rad_studio/delphiAndcpp2009/HelpUpdate2/EN/html/delphivclwin32/DB_TField_Size.html
TField.DataSize:
http://docs.embarcadero.com/products/rad_studio/delphiAndcpp2009/HelpUpdate2/EN/html/delphivclwin32/DB_TField_DataSize.html
Regards,
- Graeme -
________________________________________________
fpGUI - a cross-platform Free Pascal GUI toolkit
http://opensoft.homeip.net/fpgui/
_______________________________________________
fpc-devel maillist - fpc-devel@lists.freepascal.org
http://lists.freepascal.org/mailman/listinfo/fpc-devel