G
Guest
I have a form with several combo boxes on it. I would like the value from
those combo boxes to be the criteria of a field in a query.
I made the form and added a button. The button triggers an event to open the
form. All of that works.
I added the following to the query in the criteria of the down field:
[forms]![selectlog]![logdown]
(the value of the combo box [logdown] = 3)
That worked.
I proceeded to the next field in the query where I have criteria
In the distance field I added the following:
[forms]![selectlog]![logdistance]
(the value of the combo box [logdistance] = <3)
(I thought that having the < sign in the value of [logdistance] might have
been the problem so I changed it to 3
Neither of those worked. Both ways I received the following message:
"This expression is typed incorrectly, or it is too complex to be evaluated."
those combo boxes to be the criteria of a field in a query.
I made the form and added a button. The button triggers an event to open the
form. All of that works.
I added the following to the query in the criteria of the down field:
[forms]![selectlog]![logdown]
(the value of the combo box [logdown] = 3)
That worked.
I proceeded to the next field in the query where I have criteria
In the distance field I added the following:
[forms]![selectlog]![logdistance]
(the value of the combo box [logdistance] = <3)
(I thought that having the < sign in the value of [logdistance] might have
been the problem so I changed it to 3
Neither of those worked. Both ways I received the following message:
"This expression is typed incorrectly, or it is too complex to be evaluated."