I have a combobox that opens when a form opens. It has a studentID (hidden) and an expression for LastName&Firstname as shown in this SQL.
I have it sorted alpha on the names. When the combo opens it is alpha but shows the name of the Lowest StudentID. I would like it to show the lowest ALPHA name. The underlying table (tblStudentBasicInfo) is also sorted alpha but this doesn't seem to make any difference.
SELECT tblStudentBasicInfo.StudentID, [LastName] & ", " & [FirstName] AS Expr1
FROM tblStudentBasicInfo
ORDER BY [LastName] & ", " & [FirstName];
& ", " & [FirstName] AS Expr1
I have it sorted alpha on the names. When the combo opens it is alpha but shows the name of the Lowest StudentID. I would like it to show the lowest ALPHA name. The underlying table (tblStudentBasicInfo) is also sorted alpha but this doesn't seem to make any difference.
SELECT tblStudentBasicInfo.StudentID, [LastName] & ", " & [FirstName] AS Expr1
FROM tblStudentBasicInfo
ORDER BY [LastName] & ", " & [FirstName];
& ", " & [FirstName] AS Expr1