[fpc-pascal] TStringField.Size

Luca Olivetti luca at ventoso.org
Mon Jul 14 15:07:13 CEST 2025


El 14/7/25 a les 14:59, Michael Van Canneyt via fpc-pascal ha escrit:

>>
>> That's not what the documentation says
>>
>> https://www.freepascal.org/docs-html/fcl/db/tstringfield.size.html 
>> (emphasis mine)
>>
>> "it is the declared *maximum* size of the string (in *characters*) and 
>> is used to calculate the size of the dataset buffer."
> 
> Seems the documentation has not been updated for the unicode case :-(

Well, even the "maximum" part isn't true, at least using the 
TMSSQLConnection.

Bye
-- 
Luca


More information about the fpc-pascal mailing list