I am trying to create an IFF statement based on the value of a ComboBox. I have named the ComboBox [ReturnLength] and I have set the values when I setup the ComboBox. The problem is it is not reading the statement as true and is kicking back a false result. I was hoping someone can take a look and let me know what I am doing wrong.
Like IIf([Forms]![Screener Form]![ReturnLength]="3 Month",Between [Forms]![Screener Form]![LowerReturn] And [Forms]![Screener Form]![HigherReturn],"*").
Access keeps changing the expression to:
Like IIf([Forms]![Screener Form]![ReturnLength]="3 Month",([Approved Advisory List - SAI].[Total Ret 3 Mo]) Between [Forms]![Screener Form]![LowerReturn] And [Forms]![Screener Form]![HigherReturn],"*")
Should I build something in VB?