Hello, i'm new here and looking for assistance in completing a school project.
This is what i have
adoAppointments.RecordSource = "Select Appointments, Time from Appointments where ID = " & "'" & adoPatientRecords.Recordset!ID & "'" And Appointments] = " & " '" & Date & "'"
adoAppointments.Refresh
I would like to be able to search for any Appointments with multiple criteria (the ID & Date), what i have doesn't seem to be the correct syntax. Any help i receive would be greatly appreciate, Thanks in advance.
This is what i have
adoAppointments.RecordSource = "Select Appointments, Time from Appointments where ID = " & "'" & adoPatientRecords.Recordset!ID & "'" And Appointments] = " & " '" & Date & "'"
adoAppointments.Refresh
I would like to be able to search for any Appointments with multiple criteria (the ID & Date), what i have doesn't seem to be the correct syntax. Any help i receive would be greatly appreciate, Thanks in advance.