I think the problem is, when I go into my design view, it has a LONG SQL Statement and Im having problems understanding where to put the functions
Here is my SQL Statement...
SELECT tbl_Appointment.Appointment_ID, FIRST(tbl_Appointment.Appt_Date) as latestdate, tbl_Appointment.NHS_No, tbl_Nurse.[Nurse Name], tbl_Nurse.[Nurse Initials], tbl_Nurse.Nurse_Telephone, tbl_Nurse.Nurse_Fax, tbl_Nurse.Nurse_Email, tbl_Patient.Pnt_Title, tbl_Patient.Pnt_First_Name, tbl_Patient.Pnt_Surname, tbl_Patient.Pnt_Address1, tbl_Patient.Pnt_Address2, tbl_Patient.Pnt_Street_Road, tbl_Patient.Pnt_Town_City, tbl_Patient.Pnt_County, tbl_Patient.Pnt_Post_Code, tbl_Patient.DOB, tbl_Appointment.Assessing_Nurse, tbl_Appointment.Diagnosis, tbl_Appointment.LTOT_Prev_Flow_Rate, tbl_Appointment.LTOT_Prev_Hours, tbl_Appointment.LTOT_Prev_Equipment, tbl_Appointment.LTOT_Previous_Device, tbl_Appointment.Follow_Up_Date, tbl_Appointment.Additional_Notes, tbl_Appointment.Medication_Change_Notes, tbl_Appointment.Additional_Investigation_Notes
FROM (tbl_Patient INNER JOIN tbl_Appointment ON tbl_Patient.[NHS_No] = tbl_Appointment.[NHS_No]) INNER JOIN tbl_Nurse ON tbl_Appointment.Assessing_Nurse = tbl_Nurse.Nurse_ID
GROUP BY tbl_Appointment.Appointment_ID, tbl_Appointment.Appt_Date, tbl_Appointment.NHS_No, tbl_Nurse.[Nurse Name], tbl_Nurse.[Nurse Initials], tbl_Nurse.Nurse_Telephone, tbl_Nurse.Nurse_Fax, tbl_Nurse.Nurse_Email, tbl_Patient.Pnt_Title, tbl_Patient.Pnt_First_Name, tbl_Patient.Pnt_Surname, tbl_Patient.Pnt_Address1, tbl_Patient.Pnt_Address2, tbl_Patient.Pnt_Street_Road, tbl_Patient.Pnt_Town_City, tbl_Patient.Pnt_County, tbl_Patient.Pnt_Post_Code, tbl_Patient.DOB, tbl_Appointment.Assessing_Nurse, tbl_Appointment.Diagnosis, tbl_Appointment.LTOT_Prev_Flow_Rate, tbl_Appointment.LTOT_Prev_Hours, tbl_Appointment.LTOT_Prev_Equipment, tbl_Appointment.LTOT_Previous_Device, tbl_Appointment.Follow_Up_Date, tbl_Appointment.Additional_Notes, tbl_Appointment.Medication_Change_Notes, tbl_Appointment.Additional_Investigation_Notes
ORDER BY FIRST(tbl_Appointment.Appt_Date) DESC;