ok! well here is where the query begins
Query 1
************************************************************
SELECT [VOE Inquiry Tracking].EmpID, Switch([voe inquiry
Tracking]!Datecompleted-[voe inquiry Tracking]!Date-DateDiff("ww",[VOE
Inquiry Tracking]!Date,[VOE Inquiry
Tracking]!DateCompleted,7)-DateDiff("ww",[VOE Inquiry Tracking]!Date,[VOE
Inquiry Tracking]!DateCompleted,1)<=2,"c<=48",[voe inquiry
Tracking]!Datecompleted-[voe inquiry Tracking]!Date-DateDiff("ww",[VOE
Inquiry Tracking]!Date,[VOE Inquiry
Tracking]!DateCompleted,7)-DateDiff("ww",[VOE Inquiry Tracking]!Date,[VOE
Inquiry Tracking]!DateCompleted,1)>2,"C>48",[voe inquiry
Tracking]!Datefollowup-[voe inquiry Tracking]!Date-DateDiff("ww",[VOE
Inquiry
Tracking]!Date,[VOE Inquiry Tracking]!DateFollowup,7)-DateDiff("ww",[VOE
Inquiry Tracking]!Date,[VOE Inquiry
Tracking]!DateFollowup,1)<=2,"O<=48",[voe
inquiry Tracking]!Datefollowup-[voe inquiry
Tracking]!Date-DateDiff("ww",[VOE
Inquiry Tracking]!Date,[VOE Inquiry
Tracking]!DateFollowup,7)-DateDiff("ww",[VOE Inquiry Tracking]!Date,[VOE
Inquiry Tracking]!DateFollowup,1)>2,"O>48",True,"Ns") AS fp, [VOE Inquiry
Tracking].Date, [VOE Inquiry Tracking].DateCompleted, [VOE Inquiry
Tracking].DateFollowup, [LastName] & " " & Left([Firstname],1) & "." AS
EName, [VOE Inquiry Tracking].VoeID, [Employee Info].LastName
FROM [Employee Info] INNER JOIN [VOE Inquiry Tracking] ON [Employee
Info].EmpID = [VOE Inquiry Tracking].EmpID;
************************************************************
*******This is Query qryPipeLineSum*******************************
************************************************************
SELECT Query1.EmpID, Query1.fp, Query1.DateFollowup, Query1.Date,
Query1.DateCompleted, Query1.EName, Query1.VoeID
FROM Query1
GROUP BY Query1.EmpID, Query1.fp, Query1.DateFollowup, Query1.Date,
Query1.DateCompleted, Query1.EName, Query1.VoeID
ORDER BY Query1.EName;
************************************************************
*********this the reports recordsource the one that contains the
parameters **
************************************************************
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;
************************************************************
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.