Re: [fpc-pascal] IFPObserved

2013-09-10 Thread Michael Van Canneyt
On Wed, 11 Sep 2013, Xiangrong Fang wrote: Hi All, Where can I find detailed documentation on IFPObserved?  This page only defines the interface but not telling about the purpose of this interface: http://www.freepascal.org/docs-html/rtl/classes/ifpobserved.html My questions are: - what i

[fpc-pascal] IFPObserved

2013-09-10 Thread Xiangrong Fang
Hi All, Where can I find detailed documentation on IFPObserved? This page only defines the interface but not telling about the purpose of this interface: http://www.freepascal.org/docs-html/rtl/classes/ifpobserved.html My questions are: - what is this interface for? - any example on when and w

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

2013-09-10 Thread LacaK
silvioprog wrote / napísal(a): 2013/9/10 silvioprog mailto:silviop...@gmail.com>> 2013/9/10 Sven Barth mailto:pascaldra...@googlemail.com>> Am 10.09.2013 13:47, schrieb silvioprog: 2013/9/10 LacaK mailto:la...@zoznam.sk>> Hi Silvio, I cann't reprod

Re: [fpc-pascal] DoDirSeparators and special filenames on Windows

2013-09-10 Thread wkitty42
On Tuesday, September 10, 2013 11:35 AM, Jürgen Hestermann wrote: > Am 12013090922:28, schrieb Tomas Hajny: > > ...and the issue is that at least some Windows API functions happily > accept > such paths, > > i.e. programs using such API functions accept them too. > > If FPC RTL manages t

Re: [fpc-pascal] DoDirSeparators and special filenames on Windows

2013-09-10 Thread Jürgen Hestermann
Am 2013-09-09 22:28, schrieb Tomas Hajny: > ...and the issue is that at least some Windows API functions happily accept such paths, > i.e. programs using such API functions accept them too. > If FPC RTL manages to "translate" a path accepted by Windows > (and other programs not compiled to FPC to

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

2013-09-10 Thread Sven Barth
Am 10.09.2013 14:33, schrieb silvioprog: 2013/9/10 silvioprog mailto:silviop...@gmail.com>> 2013/9/10 Sven Barth mailto:pascaldra...@googlemail.com>> Am 10.09.2013 13:47, schrieb silvioprog: 2013/9/10 LacaK mailto:la...@zoznam.sk>> Hi Silvio, I cann

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

2013-09-10 Thread silvioprog
2013/9/10 silvioprog > 2013/9/10 Sven Barth > >> Am 10.09.2013 13:47, schrieb silvioprog: >> >> 2013/9/10 LacaK >> >>> Hi Silvio, >>> I cann't reproduce your error in 2.7.1 (trunk) >>> Fix in rev.25411 closes also problem you mentioned. (but before this >>> rev. problem existed) >>> But now I

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

2013-09-10 Thread silvioprog
2013/9/10 Sven Barth > Am 10.09.2013 13:47, schrieb silvioprog: > > 2013/9/10 LacaK > >> Hi Silvio, >> I cann't reproduce your error in 2.7.1 (trunk) >> Fix in rev.25411 closes also problem you mentioned. (but before this rev. >> problem existed) >> But now I get another error, which says that

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

2013-09-10 Thread Sven Barth
Am 10.09.2013 13:47, schrieb silvioprog: 2013/9/10 LacaK mailto:la...@zoznam.sk>> Hi Silvio, I cann't reproduce your error in 2.7.1 (trunk) Fix in rev.25411 closes also problem you mentioned. (but before this rev. problem existed) But now I get another error, which says that

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

2013-09-10 Thread silvioprog
2013/9/10 LacaK > ** > Hi Silvio, > I cann't reproduce your error in 2.7.1 (trunk) > Fix in rev.25411 closes also problem you mentioned. (but before this rev. > problem existed) > But now I get another error, which says that there is "no insert query > specified" because all fields in posted row

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

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

2013-09-10 Thread LacaK
Hi Silvio, I cann't reproduce your error in 2.7.1 (trunk) Fix in rev.25411 closes also problem you mentioned. (but before this rev. problem existed) But now I get another error, which says that there is "no insert query specified" because all fields in posted row are empty (null) (which is okay

[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