I have some simple sql code:
SELECT tblappointment.Appointment_type, tblpatient.Type_of_care, tblappointment.price, [type_of_care] & " " & [appointment_type] AS total, Switch([total]=tblpricing.price) AS Price
FROM tblappointment;
However i think it is all wrong, i want it to take this...