Topic: FastReport 3.18, SUM in IIF
Kind time of days!
There is a problem with function SUM. Rummaged an Internet - all councils which found to me did not approach!
Prompt who can knows...?
There is a report, in it in MasterData there is some field BDEQuery1. "SUMA".
For subdividing with the code 01 I need to enumerate this proceeding from value
SUM (<BDEQuery1. "SUMA">).
The code for object memo the such:
[IIF (<BDEQuery1. "ID_DEPARTMENT"> = ' 01 '; SUM (<BDEQuery1. "SUMA">, MasterData1); <BDEQuery1. "SUMA">)]
For all departments normally deduces , and for 01 - it is empty also any errors!
Prompt, , what I do not so????