Hi all,
i have two table linked delete the records that match tblnotinsheffield to tblappointments i.e
all the records in tblnotinsheffield match with tblappointments and delete it from tblappointments.
my code is this so far
DELETE tblAppointments.DiaryDate, tblAppointments.HospitalNo, tblNotInSheffield.HospitalNo
FROM tblNotInSheffield INNER JOIN tblAppointments ON tblNotInSheffield.HospitalNo = tblAppointments.HospitalNo;
but am a loss how to do the rest?
i have two table linked delete the records that match tblnotinsheffield to tblappointments i.e
all the records in tblnotinsheffield match with tblappointments and delete it from tblappointments.
my code is this so far
DELETE tblAppointments.DiaryDate, tblAppointments.HospitalNo, tblNotInSheffield.HospitalNo
FROM tblNotInSheffield INNER JOIN tblAppointments ON tblNotInSheffield.HospitalNo = tblAppointments.HospitalNo;
but am a loss how to do the rest?