P
Phil Hood
Hello,
I have a form that contains three text box controls for:
Dept
Team
EmpeeID
I wish to construct a query that will pick up values from
these controls and select matching records from a table.
However, I want to set it up so that the query selects the
records whether 1, 2 or 3 of the controls are populated
i.e. select on dept only, team only, empeeID only, dept &
team, dept & empeeID etc......)
I can only make a query work where all three controls are
populated.
Any help would be greatly appreciated..
Thanks
Phil.
I have a form that contains three text box controls for:
Dept
Team
EmpeeID
I wish to construct a query that will pick up values from
these controls and select matching records from a table.
However, I want to set it up so that the query selects the
records whether 1, 2 or 3 of the controls are populated
i.e. select on dept only, team only, empeeID only, dept &
team, dept & empeeID etc......)
I can only make a query work where all three controls are
populated.
Any help would be greatly appreciated..
Thanks
Phil.