Hi
I have the following in a text box on a report:
=IIf([ClosingDate] Like "*/05/*",Sum([Expr1]),0)
The data it is analysing is the cost of job advertisements per month. We advertise in the Star, Guardian and Job Centre, so
Expr1 = [Star Cost] + [Guardian Cost]+[Job Centre Cost].
The query also analyses the Closing Date of the advert (the criteria for this is to type in the start and end date).
The Expr1 adds up fine on the query and the report, but when I want it to tell me how much was spent in the month of May (by closing date), I thought the above formula would work...but it doesn't?
Thanks
Maria
I have the following in a text box on a report:
=IIf([ClosingDate] Like "*/05/*",Sum([Expr1]),0)
The data it is analysing is the cost of job advertisements per month. We advertise in the Star, Guardian and Job Centre, so
Expr1 = [Star Cost] + [Guardian Cost]+[Job Centre Cost].
The query also analyses the Closing Date of the advert (the criteria for this is to type in the start and end date).
The Expr1 adds up fine on the query and the report, but when I want it to tell me how much was spent in the month of May (by closing date), I thought the above formula would work...but it doesn't?
Thanks
Maria