The report uses qrynoofpatients1 as its source
Qrynoofpatients
SELECT RoomBookings.Appdate, RoomBookings.Patient
FROM RoomBookings
WHERE (((RoomBookings.Appdate) Between [Forms]![frmListBookingsforaPeriod]![fromdate] And [Forms]![frmListBookingsforaPeriod]![todate]) AND ((RoomBookings.Patient)>""));
Qrynoofpatients1
SELECT qrynoofpatients.Patient, 1 AS noof
FROM qrynoofpatients
GROUP BY qrynoofpatients.Patient, 1;