Re: [fpc-devel] Calculated fields in TSQLQuery

2006-08-22 Thread Joost van der Sluis
On Tue, 2006-08-22 at 08:02 +0200, Martin Schreiber wrote:
 I have problems with calculated fields (FieldKind = fkCalculated) in 
 TSQLQuery. It seems that OnCalcFields is not called on record fetching and it 
 is not possible to set field values in dsCalcFields state.
 Do calculated fields work in TSQLQuery?

I never looked at it, only committed some patches from others. So I
guess it's not very stable.

Joost



___
fpc-devel maillist  -  fpc-devel@lists.freepascal.org
http://lists.freepascal.org/mailman/listinfo/fpc-devel


Re: [fpc-devel] Calculated fields in TSQLQuery

2006-08-22 Thread Martin Schreiber
On Tuesday 22 August 2006 11.55, Joost van der Sluis wrote:
 On Tue, 2006-08-22 at 08:02 +0200, Martin Schreiber wrote:
  I have problems with calculated fields (FieldKind = fkCalculated) in
  TSQLQuery. It seems that OnCalcFields is not called on record fetching
  and it is not possible to set field values in dsCalcFields state.
  Do calculated fields work in TSQLQuery?

 I never looked at it, only committed some patches from others. So I
 guess it's not very stable.


Thanks, I submitted Mantis 7294 and 7295.
It is a good chance to implement the really useful internal calc fields too 
(Mantis 7157).  :-)

Martin
___
fpc-devel maillist  -  fpc-devel@lists.freepascal.org
http://lists.freepascal.org/mailman/listinfo/fpc-devel


[fpc-devel] Calculated fields in TSQLQuery

2006-08-21 Thread Martin Schreiber
Hi,
I have problems with calculated fields (FieldKind = fkCalculated) in 
TSQLQuery. It seems that OnCalcFields is not called on record fetching and it 
is not possible to set field values in dsCalcFields state.
Do calculated fields work in TSQLQuery?

Martin
___
fpc-devel maillist  -  fpc-devel@lists.freepascal.org
http://lists.freepascal.org/mailman/listinfo/fpc-devel