V
Victoria
hi - I'm wondering why the following SQL doesn't work. It treats the
'FullName' alias in the last line as a parameter and asks the user for its
value.
SELECT tblEmp.EmpID, tblEmp.LName & ", " & tblEmp.FName AS FullName
FROM tblEmp
ORDER BY tblEmp.FullName
The SQL works fine when I replace the last line by...
ORDER BY tblEmp.LName & ", " & tblEmp.FName ,
but the SQL Help says that ORDER BY can be followed by the name of any
field, and the alias following the 'AS' should have assigned 'FullName' as
the field's new name.
just curious
Victoria
'FullName' alias in the last line as a parameter and asks the user for its
value.
SELECT tblEmp.EmpID, tblEmp.LName & ", " & tblEmp.FName AS FullName
FROM tblEmp
ORDER BY tblEmp.FullName
The SQL works fine when I replace the last line by...
ORDER BY tblEmp.LName & ", " & tblEmp.FName ,
but the SQL Help says that ORDER BY can be followed by the name of any
field, and the alias following the 'AS' should have assigned 'FullName' as
the field's new name.
just curious
Victoria