Hi! I am trying to figure out how to write a formula in a query where it searches two fields in an IIF statement.
I tried...
I am getting an error that states I have the wrong number of arguments
And then I tried...
I am getting an error that states I have the wrong number of parentheses.
What am I doing wrong? Thanks so much!
I tried...
Code:
Current and Future Territory?: IIF([Remove Account From] Is Null And IIf([Effective Billing Month/Year (Oct FY11 = 1/2011)]<=Forms![TerrMgmt-Form-ParameterForm]!cbocurrentbilling,"Y",IIf([correction?]=True,"Y","")))
I am getting an error that states I have the wrong number of arguments
And then I tried...
Code:
Current and Future Territory?: IIF (IsNull([Remove Account From] And IIf([Effective Billing Month/Year (Oct FY11 = 1/2011)]<=Forms![TerrMgmt-Form-ParameterForm]!cbocurrentbilling,"Y",IIf([correction?]=True,"Y","")))
I am getting an error that states I have the wrong number of parentheses.
What am I doing wrong? Thanks so much!