TheBioh4z4rdx 0 Posted October 30 (edited) When I execute a simple "SQL" with frxDBXQuery within Fast Report, using "SUM" : Unknow ISC error 0 If I remove the "SUM" the "SQL" query works...  Quote SELECT NF.DOCUMENT, SUM(NF.TOTAL) AS TOTAL FROM NF GROUP BY NF.DOCUMENT  Pls help me 😞 Edited October 30 by TheBioh4z4rdx Share this post Link to post
Stano 143 Posted October 30 For compiling SQL texts I recommend to use some DB manager. It would print this error directly! Share this post Link to post
TheBioh4z4rdx 0 Posted October 30 I am veryr sorry... I forgot to copy the last part of the "SQL"..... Quote SELECT NF.DOCUMENT, SUM(NF.TOTAL) AS TOTAL FROM NF GROUP BY NF.DOCUMENT Unknow ISC error 0 The error occurs in all reports that use "SUM", when viewing them in "Fast Report".... DBeaver/IBexpert the "SQL" works normally.  Share this post Link to post
gkobler 38 Posted October 31 Try the follow SELECT NF.DOCUMENT, CAST(SUM(NF.TOTAL) AS INTEGER) AS TOTAL FROM NF GROUP BY NF.DOCUMENT This also can happens with functions SUM, AVG, MIN, MAX... Share this post Link to post