Re: [fpc-pascal] Re: TMemoField saving empty strings as '' (double quote)

2013-09-10 Thread silvioprog
2013/9/10 Reinier Olislagers > 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

[fpc-pascal] Re: TMemoField saving empty strings as '' (double quote)

2013-09-10 Thread Reinier Olislagers
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 t