Below is the SQL that I have for a Query. Is there a way I can get the Distinct Last name without moving the [1-StationVerifyTbl].WorkerNameLast to the first field of the query?
Code:
SELECT [1-StationVerifyTbl].Process, [1-StationVerifyTbl].OperationName, [1-StationVerifyTbl].StaPrimary, [1-StationVerifyTbl].StaUp, [1-StationVerifyTbl].StaBack, [1-StationVerifyTbl].StaOther,[b][1-StationVerifyTbl].WorkerNameLast[/b], [1-StationVerifyTbl].WorkerNameFirst
FROM [1-StationVerifyTbl]
WHERE ((([1-StationVerifyTbl].Process) Like "1/*")) OR ((([1-StationVerifyTbl].Process) Like "2/*"))
ORDER BY [1-StationVerifyTbl].Process, [1-StationVerifyTbl].OperationName, [1-StationVerifyTbl].StaPrimary, [1-StationVerifyTbl].StaUp, [1-StationVerifyTbl].StaBack, [1-StationVerifyTbl].StaOther;