Dear all,
Please advice as I write down the criteria in report as below but is was telling that contains invalid syntax.
=IIf([M]=[M],DLookUp("[Total Cost]","Monthly Cost Query","[Month of]='January 2011'",IIf([M]=[M],DLookUp("[Total Cost]","Monthly Cost Query","[Month of]='February 2011'")"0"))
I may forgot something.
Please advice as I write down the criteria in report as below but is was telling that contains invalid syntax.
=IIf([M]=[M],DLookUp("[Total Cost]","Monthly Cost Query","[Month of]='January 2011'",IIf([M]=[M],DLookUp("[Total Cost]","Monthly Cost Query","[Month of]='February 2011'")"0"))
I may forgot something.