Hello everyone,
So I have a query that is based off of a ComboBox, which has 6 choices. It has the name of 5 different Shuttle Yards and the last choice is "All Yards". Below is the code in my query, but when I run it I get the following error. "The expression is typed incorrectly, or it is too complex to be evaluated...."
Thanks for any help you can offer.
So I have a query that is based off of a ComboBox, which has 6 choices. It has the name of 5 different Shuttle Yards and the last choice is "All Yards". Below is the code in my query, but when I run it I get the following error. "The expression is typed incorrectly, or it is too complex to be evaluated...."
Code:
=IIf([Forms]![frmDashboard]![Yard]="All Yards","Mebane" Or "Hope Mills" Or "Wilmington" Or "New Bern" Or "Selma",[Forms]![frmDashboard]![Yard])
Thanks for any help you can offer.