T
taylorew
I am having trouble creating a query I need to run a
report. The problem is in how I am setting up my "IF"
statement. I am submitting this incorrect "IF" statement
hoping someone can help me repair it. I need to put the
following expression in a query or in the report itself.
The input field I am examining is called
"LengthCurrentTerm" and based on the contents of the field
I want the name of a month returned. Please advise:
Select(IIf([LengthCurrentTerm]="1 yr"),"February",
Elseif([LengthCurrentTerm]="2 yrs"),"December",
Elseif([LengthCurrentTerm]="3 yrs"),"June",
Elseif([LengthCurrentTerm]="4 yrs"),"June",
Elseif([LengthCurrentTerm]="5 yrs"),"June"AS [Month])
Thank you,
Ella Taylor
report. The problem is in how I am setting up my "IF"
statement. I am submitting this incorrect "IF" statement
hoping someone can help me repair it. I need to put the
following expression in a query or in the report itself.
The input field I am examining is called
"LengthCurrentTerm" and based on the contents of the field
I want the name of a month returned. Please advise:
Select(IIf([LengthCurrentTerm]="1 yr"),"February",
Elseif([LengthCurrentTerm]="2 yrs"),"December",
Elseif([LengthCurrentTerm]="3 yrs"),"June",
Elseif([LengthCurrentTerm]="4 yrs"),"June",
Elseif([LengthCurrentTerm]="5 yrs"),"June"AS [Month])
Thank you,
Ella Taylor