G
Guest
I have a report that feeds from a query - When I run the report, I want the
last names in alphabetical order. Below is the SQL for the query. If you
notice, at the end it states - ORDER BY LastName; - Why aren't the last names
in order? Do I have to do something to the report?
Thank you
SELECT [LastName] & ", " & [FirstName] AS Employee, EmployeeID, Home, Cell,
Emergency, Contact, Relationship
FROM tblDepartment INNER JOIN qryEmployeeActive ON
tblDepartment.DeptID=qryEmployeeActive.DepartmentID
WHERE ((tblDepartment.DeptID)=[Please Enter Department Number])
ORDER BY LastName;
last names in alphabetical order. Below is the SQL for the query. If you
notice, at the end it states - ORDER BY LastName; - Why aren't the last names
in order? Do I have to do something to the report?
Thank you
SELECT [LastName] & ", " & [FirstName] AS Employee, EmployeeID, Home, Cell,
Emergency, Contact, Relationship
FROM tblDepartment INNER JOIN qryEmployeeActive ON
tblDepartment.DeptID=qryEmployeeActive.DepartmentID
WHERE ((tblDepartment.DeptID)=[Please Enter Department Number])
ORDER BY LastName;