S
sashabaz
Hi all,
I am trying to set 2 different criteria on the same field in a query. The
query is based around a project name.
I want it to take a value from "frmProjectMilestones" or "frmProjectSelect"
(whichever form is being used first). In each case, the combo box has the
same name. Here is the expression I have used in the Criteria:
[Forms]![frmProjectMilestones]![cboProjectSelect] Or
[Forms]![frmProjectSelect]![cboProjectSelect]
Strangely, if I only put 1 of the expressions in the query it seems to work
fine. If both are there, it allows the one that has been entered and then
asks for the other to also be entered.
How can I get it to be an either/or criteria??
I am trying to set 2 different criteria on the same field in a query. The
query is based around a project name.
I want it to take a value from "frmProjectMilestones" or "frmProjectSelect"
(whichever form is being used first). In each case, the combo box has the
same name. Here is the expression I have used in the Criteria:
[Forms]![frmProjectMilestones]![cboProjectSelect] Or
[Forms]![frmProjectSelect]![cboProjectSelect]
Strangely, if I only put 1 of the expressions in the query it seems to work
fine. If both are there, it allows the one that has been entered and then
asks for the other to also be entered.
How can I get it to be an either/or criteria??