I have a very simple query that allows a user to pull up an employee's information by their empID.
SELECT tblEmployee.empID, tblEmployee.Name
FROM tblEmployee
WHERE (((tblEmployee.empID)=[Enter empID to list Specific Employee]));
I also would like the ability to pull all employees if the ID is not known (ideally through the same query). For instance, when the query runs, the pop-up box would ask a user for the empID, but if they left it blank, it would pull all data. Any thoughts?
SELECT tblEmployee.empID, tblEmployee.Name
FROM tblEmployee
WHERE (((tblEmployee.empID)=[Enter empID to list Specific Employee]));
I also would like the ability to pull all employees if the ID is not known (ideally through the same query). For instance, when the query runs, the pop-up box would ask a user for the empID, but if they left it blank, it would pull all data. Any thoughts?