Page 1 of 1

Aggregate Fields Always Created as String Fields

Posted: 24.05.2011, 06:44
by StopGap
Using sum(x) or total(x) in a query on integer or float fields always results in the creation of tStringFields in Delphi.

Using the SQLite typeof function shows them to be "real".

I've seen other posts like this, but no solution.

Any help appreciated.

Re: Aggregate Fields Always Created as String Fields

Posted: 01.06.2015, 15:52
by jerome
I have the same issue ... what can we do ? thank you!

Re: Aggregate Fields Always Created as String Fields

Posted: 06.07.2015, 18:36
by Pitfiend
That's an issue with SQLite, it only has 4 datatypes and to be worst enough, they are interchangeable and not strict typed.