PARAMETERS [Forms]![frmRptDialogSingle]![begdate] DateTime, [Forms]![frmRptDialogSingle]![enddate] DateTime;
TRANSFORM Count(qry_cardiology1.EpisodeID) AS CountOfEpisodeID
SELECT qry_cardiology1.Days
FROM qry_cardiology1
WHERE (((qry_cardiology1.RequestDatetime) Between [Forms]![frmRptDialogSingle]![begdate] And [Forms]![frmRptDialogSingle]![enddate]))
GROUP BY qry_cardiology1.Days
PIVOT qry_cardiology1.ReferringHospital;
this was working fine this query but now it is saying the fieldname Requestdatetime is not recognised by the jet engine!
why?
TRANSFORM Count(qry_cardiology1.EpisodeID) AS CountOfEpisodeID
SELECT qry_cardiology1.Days
FROM qry_cardiology1
WHERE (((qry_cardiology1.RequestDatetime) Between [Forms]![frmRptDialogSingle]![begdate] And [Forms]![frmRptDialogSingle]![enddate]))
GROUP BY qry_cardiology1.Days
PIVOT qry_cardiology1.ReferringHospital;
this was working fine this query but now it is saying the fieldname Requestdatetime is not recognised by the jet engine!
why?