Okay, that helped a bit (took me all morning to get it quite enough, long enough, to try to understand!).
I tried something - I changed around the "location" of the elements so that now Ticket# is my value, & Employee is in the Row Headings - it works!!! I'm getting data, & from the right dates only!
Here's the SQL now:
PARAMETERS [Forms]![frmQASurveyReports]![StartDateChoice] DateTime, [Forms]![frmQASurveyReports]![EndDateChoice] DateTime;
TRANSFORM Count([QA Survey Table].[Ticket#]) AS [CountOfTicket#]
SELECT [QA Survey Table].Employee, [QA Survey Table].Unavailable, [QA Survey Table].Refused
FROM [QA Survey Table]
GROUP BY [QA Survey Table].Employee, [QA Survey Table].Unavailable, [QA Survey Table].Refused
PIVOT "D" & DateDiff("d",[Date],[Forms]![frmQASurveyReports]![EndDateChoice]) In ("D0","D1","D2","D3","D4","D5","D6","D7","D8","D9","D10","D11","D12",
"D13","D14","D15","D16","D17","D18","D19","D20","D21","D22","D23","D24",
"D25","D26","D27","D28","D29","D30","D31","D32");
I checked the numbers in the value fields & they are correct! I did notice that some Employee Rows were repeated because they had, on the same day, some completed surveys & some unavailable surveys; however, it did NOT duplicate the counts on those - that's a good thing!
So I think we're in business? The column headings are still coming up as the D0, D1, etc - but I believe you said we could fix that in the report?
+Tammy