Quantcast
Channel: VBForums - Visual Basic 6 and Earlier
Viewing all articles
Browse latest Browse all 21237

[RESOLVED] SQL Searches with multiple criteria

$
0
0
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.

Viewing all articles
Browse latest Browse all 21237

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>