J
Jason
On my from I have an option button that limits the list in a combox to Active
employees. When it is not checked I would like the qry to return all records.
It works fine for when the option is true but not for when false (right now
it returns none). Can you see where I went wrong in the SQL? Also does anyone
know a way to refresh the data in the combobox without having to close and
relauch the form after the optioin button has been updated? Thank you
SELECT Tbl_EmployeeMaster.QI, Tbl_EmployeeMaster!LNAME & ", " &
Tbl_EmployeeMaster!FNAME AS FullName
FROM Tbl_EmployeeMaster
WHERE
(((Tbl_EmployeeMaster.Status)=IIf([Forms]![Frm_EmployeeSelect]![Option13]=True,"Active",Null)))
ORDER BY Tbl_EmployeeMaster!LNAME & ", " & Tbl_EmployeeMaster!FNAME;
employees. When it is not checked I would like the qry to return all records.
It works fine for when the option is true but not for when false (right now
it returns none). Can you see where I went wrong in the SQL? Also does anyone
know a way to refresh the data in the combobox without having to close and
relauch the form after the optioin button has been updated? Thank you
SELECT Tbl_EmployeeMaster.QI, Tbl_EmployeeMaster!LNAME & ", " &
Tbl_EmployeeMaster!FNAME AS FullName
FROM Tbl_EmployeeMaster
WHERE
(((Tbl_EmployeeMaster.Status)=IIf([Forms]![Frm_EmployeeSelect]![Option13]=True,"Active",Null)))
ORDER BY Tbl_EmployeeMaster!LNAME & ", " & Tbl_EmployeeMaster!FNAME;