I have a sub form and the SQL is:
SELECT qryAppointments.ApptDate, qryAppointments.ApptStartTime, qryAppointments.ApptEndTime, qryAppointments.ClientID, qryAppointments.ClientPCTitle, qryAppointments.ClientFullName, qryAppointments.ClientPCForename, qryAppointments.ClientPCSurname, qryAppointments.EPCAgentName, qryAppointments.ApptStatus, qryAppointments.ApptOutcomeComments, qryAppointments.ApptID
FROM qryAppointments;
I have placed in the OrderBy box:
[ApptStartTime].ASC
I want to be able to sort the records in ascending start time, however the above does not work.
Can someone point me in the right direction.
Thank you.
SELECT qryAppointments.ApptDate, qryAppointments.ApptStartTime, qryAppointments.ApptEndTime, qryAppointments.ClientID, qryAppointments.ClientPCTitle, qryAppointments.ClientFullName, qryAppointments.ClientPCForename, qryAppointments.ClientPCSurname, qryAppointments.EPCAgentName, qryAppointments.ApptStatus, qryAppointments.ApptOutcomeComments, qryAppointments.ApptID
FROM qryAppointments;
I have placed in the OrderBy box:
[ApptStartTime].ASC
I want to be able to sort the records in ascending start time, however the above does not work.
Can someone point me in the right direction.
Thank you.