Aggregate Fields Always Created as String Fields

Forum related to SQLite

Moderators: gto, cipto_kh, EgonHugeist

Post Reply
StopGap
Fresh Boarder
Fresh Boarder
Posts: 1
Joined: 16.11.2010, 04:14

Aggregate Fields Always Created as String Fields

Post 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.
jerome
Fresh Boarder
Fresh Boarder
Posts: 2
Joined: 23.09.2014, 14:52

Re: Aggregate Fields Always Created as String Fields

Post by jerome »

I have the same issue ... what can we do ? thank you!
User avatar
Pitfiend
Senior Boarder
Senior Boarder
Posts: 68
Joined: 12.12.2009, 07:27

Re: Aggregate Fields Always Created as String Fields

Post 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.
Post Reply