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);

_______________________________________________
fpc-pascal maillist  -  fpc-pascal@lists.freepascal.org
http://lists.freepascal.org/mailman/listinfo/fpc-pascal

Reply via email to