the following query is not working properly
SELECT RoomBookings.Patient, RoomBookings.Therapist, RoomBookings.Appdate, [Forms]![frmreportga]![fd] AS fd, [Forms]![frmreportga]![td] AS td, 1 AS noof, RoomBookings.TimeFrom, RoomBookings.TimeTo, [Forms]![frmreportga]![ddon] AS roomdon
FROM RoomBookings
WHERE (((RoomBookings.Patient)=[Forms]![frmreportga]![memkey]) AND ((RoomBookings.Appdate) Between [Forms]![frmreportga]![fd] And [Forms]![frmreportga]![td]))
ORDER BY RoomBookings.Appdate;
the fields fd , td and ddo are not displayed from the form
HOWEVER the fields fd and td are dates and are used in the where section and they do work properly.
Why do they work in the where section but are not displayed
thanks
SELECT RoomBookings.Patient, RoomBookings.Therapist, RoomBookings.Appdate, [Forms]![frmreportga]![fd] AS fd, [Forms]![frmreportga]![td] AS td, 1 AS noof, RoomBookings.TimeFrom, RoomBookings.TimeTo, [Forms]![frmreportga]![ddon] AS roomdon
FROM RoomBookings
WHERE (((RoomBookings.Patient)=[Forms]![frmreportga]![memkey]) AND ((RoomBookings.Appdate) Between [Forms]![frmreportga]![fd] And [Forms]![frmreportga]![td]))
ORDER BY RoomBookings.Appdate;
the fields fd , td and ddo are not displayed from the form
HOWEVER the fields fd and td are dates and are used in the where section and they do work properly.
Why do they work in the where section but are not displayed
thanks