H
Henry Schutte
I have a form with a control called
[Forms]![frmEmployeeReportsParameters]![txtshiftmachine]. I created a
query that uses this control as part of the in-clause.
SELECT Employees.Shift, tblMachines.MachineName, Employees.FirstName,
Employees.LastName FROM Employees
WHERE (Employees.Shift) In
([Forms]![frmEmployeeReportsParameters]![txtshiftmachine]);
The data I'm trying to send is 1,2. I can use 1 and it works fine.
However, when I use 1,2 the query returns nothing. I read something
about a filter. Can someone explain to me what I need to do to get
this to work?
[Forms]![frmEmployeeReportsParameters]![txtshiftmachine]. I created a
query that uses this control as part of the in-clause.
SELECT Employees.Shift, tblMachines.MachineName, Employees.FirstName,
Employees.LastName FROM Employees
WHERE (Employees.Shift) In
([Forms]![frmEmployeeReportsParameters]![txtshiftmachine]);
The data I'm trying to send is 1,2. I can use 1 and it works fine.
However, when I use 1,2 the query returns nothing. I read something
about a filter. Can someone explain to me what I need to do to get
this to work?