the sql for the report is as follows(its a crosstab query)
PARAMETERS [forms]![ServiceLevel]![beginDate] DateTime,
[forms]![ServiceLevel]![EndDate] DateTime;
TRANSFORM Count(qryPipeLineSum.fp) AS CountOffp
SELECT qryPipeLineSum.EName, qryPipeLineSum.EmpID, qryPipeLineSum.Date,
qryPipeLineSum.percomplete, qryPipeLineSum.perOutstand, Format([Date],"mmm
yyyy",0,0) AS Months, Format([Date],"ww",0,0) AS Weeks, Format([Date],"Short
Date") AS dates, qryPipeLineSum.EName, qryPipeLineSum.Date,
qryPipeLineSum.Date
FROM qryPipeLineSum
WHERE (((qryPipeLineSum.Date) Between [forms]![ServiceLevel]![beginDate] And
[forms]![ServiceLevel]![EndDate]))
GROUP BY qryPipeLineSum.EName, qryPipeLineSum.EmpID, qryPipeLineSum.Date,
qryPipeLineSum.percomplete, qryPipeLineSum.perOutstand, Format([Date],"mmm
yyyy",0,0), Format([Date],"ww",0,0), Format([Date],"Short Date"),
qryPipeLineSum.EName, qryPipeLineSum.Date, qryPipeLineSum.EmpID
ORDER BY qryPipeLineSum.EName
PIVOT qryPipeLineSum.fp;
Van T. Dinh said:
You are probably using a Parametrised Query as the RecordSource for the
Report and the criteria for EmpID / [All] is incorrectly constructed.
Post the SQL String of the Report's RecodSource if you need further help.
--
HTH
Van T. Dinh
MVP (Access)
JOM said:
I have the following select statement in my combobox row source
SELECT [EmployeeInfo].EmpID, [FirstName] & ", " & [LastName] AS EName FROM
[EmployeeInfo] UNION select -1,'[all]' from [EmployeeInfo];
What am trying to do is select all to open a report based on what is in
the
comboxbox and between begining date and ending date but it tells me that
there is no data, but there is data for the dates i put in.