Can someone please help me out with some SQL?
Here is the current SQL for a simple query,
SELECT tbl_EmployeeList.[Active Employee], tbl_EmployeeList.Trade, tbl_EmployeeList.Employee, tbl_EmployeeList.[Bruce Power Number], tbl_EmployeeList.[Aecon Number]
FROM tbl_EmployeeList
GROUP BY tbl_EmployeeList.[Active Employee], tbl_EmployeeList.Trade, tbl_EmployeeList.Employee, tbl_EmployeeList.[Bruce Power Number], tbl_EmployeeList.[Aecon Number]
HAVING (((tbl_EmployeeList.[Active Employee])="active"))
ORDER BY tbl_EmployeeList.Trade;
I would like to add the parameter prompt for a field called EPSCA, which has a value of either "Y" or "N".
The output would be different if the user wants this field included as criteria, otherwise there is no change if this prompt excludes it, i.e. EPSCA = "N".
Here is the current SQL for a simple query,
SELECT tbl_EmployeeList.[Active Employee], tbl_EmployeeList.Trade, tbl_EmployeeList.Employee, tbl_EmployeeList.[Bruce Power Number], tbl_EmployeeList.[Aecon Number]
FROM tbl_EmployeeList
GROUP BY tbl_EmployeeList.[Active Employee], tbl_EmployeeList.Trade, tbl_EmployeeList.Employee, tbl_EmployeeList.[Bruce Power Number], tbl_EmployeeList.[Aecon Number]
HAVING (((tbl_EmployeeList.[Active Employee])="active"))
ORDER BY tbl_EmployeeList.Trade;
I would like to add the parameter prompt for a field called EPSCA, which has a value of either "Y" or "N".
The output would be different if the user wants this field included as criteria, otherwise there is no change if this prompt excludes it, i.e. EPSCA = "N".