I have created the following expression in a query:
Every time I try to run the query I receive a message box saying:
"The expression you entered has a function containing the wrong number of arguments"
Can anyone please advise me what I am doing wrong.
Thanks a lot
John
Code:
Year:IIf([BisleyYear]="RNR SKILL AT ARMS MEETING BISLEY 2000","2000","", IIf([BisleyYear]="RNR SKILL AT ARMS MEETING BISLEY 2001","2001","", IIf([BisleyYear]="RNR SKILL AT ARMS MEETING BISLEY 2002","2002","", IIf([BisleyYear]="RNR SKILL AT ARMS MEETING BISLEY 2003","2003","", IIf([BisleyYear]="RNR SKILL AT ARMS MEETING BISLEY 2004","2004","", IIf([BisleyYear]="RNR SKILL AT ARMS MEETING BISLEY 2005","2005","", IIf([BisleyYear]="RNR SKILL AT ARMS MEETING BISLEY 2006","2006","", IIf([BisleyYear]="RNR SKILL AT ARMS MEETING BISLEY 2007","2007","", IIf([BisleyYear]="RNR SKILL AT ARMS MEETING BISLEY 2008","2008","", IIf([BisleyYear]="RNR SKILL AT ARMS MEETING BISLEY 2009","2009","", IIf([BisleyYear]="RNR SKILL AT ARMS MEETING BISLEY 2010","2010","")))))))))))
Every time I try to run the query I receive a message box saying:
"The expression you entered has a function containing the wrong number of arguments"
Can anyone please advise me what I am doing wrong.
Thanks a lot
John