[fpc-pascal] Re: TMemoField saving empty strings as '' (double quote)
Reinier Olislagers
reinierolislagers at gmail.com
Tue Sep 10 10:30:47 CEST 2013
On 09/09/2013 22:27, silvioprog wrote:
> I'm trying to save an empty string in a TMemoField, but it always saves
> a double quote ('') instead.
>
> Attached a small example to reproduce the error.
It seems you're trying to clear the field (which IMO should give NULL).
Shouldn't you use .AsString to assign an empty string value to it?
> My environment:
>
> PostgreSQL 8.4;
>
> Lazarus 1.0.10 r41613 FPC 2.6.2 i386-win32-win32/win64 (Windows 8 - 64bit);
More information about the fpc-pascal
mailing list