N
nouveauricheinvestments
hi,
I have entered the following expression in the criteria field of a
query I am using in a form/subform.
IIf([Forms]![Current Unapproved Tickets]![Combo3]=0,"*",[Forms]!
[Current Unapproved Tickets![Combo3])
In my combo box record source I have the following SQL query:
SELECT ID, Trade_Specialist FROM Trade_Specialists
UNION SELECT 0,"(ALL)" FROM Trade_Specialists
ORDER BY Trade_Specialist;
every option in my combo box works fine except the all optionn. it
tells me the following when I select it.
The expression is typed incorrectly, or is too complex to be
evaluated. For example, a numeric expression may contain too many
complicated elements. Try simplifying the expression by assigning
parts of the expression to variables.
I have entered the following expression in the criteria field of a
query I am using in a form/subform.
IIf([Forms]![Current Unapproved Tickets]![Combo3]=0,"*",[Forms]!
[Current Unapproved Tickets![Combo3])
In my combo box record source I have the following SQL query:
SELECT ID, Trade_Specialist FROM Trade_Specialists
UNION SELECT 0,"(ALL)" FROM Trade_Specialists
ORDER BY Trade_Specialist;
every option in my combo box works fine except the all optionn. it
tells me the following when I select it.
The expression is typed incorrectly, or is too complex to be
evaluated. For example, a numeric expression may contain too many
complicated elements. Try simplifying the expression by assigning
parts of the expression to variables.