colleagues

colleagues

I'm trying to make localSQL with FireDAC.
Evrithing is OK but

select account, sum(amount) mnt from NUMBERLIST
group by account

leads to "mnt" become string. When I remove "group by" it comes to be float again.

Any Ideas?
CAST() doesn't help.

Comments

  1. IT doesn't change types of group by fields,
    but changes sum() or total() to string.

    ReplyDelete
  2. I get error Expected Float actual WideString. and it not IDE bug as same happens in compiled application. So it could be FireDAC bug. maybe anyone knows some workaround?

    ReplyDelete

Post a Comment