L
LMB
Hi Guys,
I am using Access 2000.
I created a crosstab query. The sql is below in case that helps you.
TRANSFORM Max(qryrptTherapistAuditNumbers.CountOfEmpAuditID) AS
MaxOfCountOfEmpAuditID
SELECT qryrptTherapistAuditNumbers.Employee
FROM qryrptTherapistAuditNumbers
GROUP BY qryrptTherapistAuditNumbers.Employee
PIVOT qryrptTherapistAuditNumbers.AuditName;
When I add my date parameter...
Between [Start Date] And [End Date]
....to the underlying query that my crosstab is based on,
qryrptTherapistAuditNumbers, I get the error message below.
The Microsoft jet database engine does not recognize '[startdate]' as a
valid field name or expression.
The crosstab query is perfect but I need to run this query every week and
only have the records from a specific time period, not all the records in
the database. Actually, I only need records that begin at a certain date
and go until today (today being the date I am running the query)
Thanks,
Linda
I am using Access 2000.
I created a crosstab query. The sql is below in case that helps you.
TRANSFORM Max(qryrptTherapistAuditNumbers.CountOfEmpAuditID) AS
MaxOfCountOfEmpAuditID
SELECT qryrptTherapistAuditNumbers.Employee
FROM qryrptTherapistAuditNumbers
GROUP BY qryrptTherapistAuditNumbers.Employee
PIVOT qryrptTherapistAuditNumbers.AuditName;
When I add my date parameter...
Between [Start Date] And [End Date]
....to the underlying query that my crosstab is based on,
qryrptTherapistAuditNumbers, I get the error message below.
The Microsoft jet database engine does not recognize '[startdate]' as a
valid field name or expression.
The crosstab query is perfect but I need to run this query every week and
only have the records from a specific time period, not all the records in
the database. Actually, I only need records that begin at a certain date
and go until today (today being the date I am running the query)
Thanks,
Linda