G
Gaspare
Hi,Bill said:Hi,
I am attempting to sum part of the entries in the detail section
of the report in a text box in the group header.
Txtbox1 is text, txtbox2 is a number.
This is the control source in the text box in the header.
=IIf([txtbox1]="text1" Or "text2" Or "text3",Sum([text2]),0)
I am getting a sum of all the entries, not just the desired.
Is the syntax wrong? Please help.
Thanks,
Bill
look syntax of "iif" in your help file...