Page 1 of 1

Why does StringField.Size change after opening smartquery?

Posted: Fri 04 Jan 2008 14:19
by jz
I've got table with varchar2 field (length - 10 chars), why does Size property of StringField (field of smartquery) change always to 40 (i tried with 15 chars, it was 60 then, so it's always multiplied 4 times).

Posted: Tue 08 Jan 2008 16:41
by Plash
Size property of TStringField is size of the field in bytes. So if your database have multibytes character set, TStringField.Size contains size in characters multiplied on size of one character.