Steve,
I picked up the book SQL Queries for Mere Mortals and I am just about finished with it. Thank you for the suggestion.
If I can ask one more quesiton of you:
I am able to run my query for each day and it is working great. (With your help) Now is there a way I can run a query for a certain time frame? For example, if I want to see all the tests that were performed between #7/01/04# And #7/15/04#, can I have it give me one total? Here is my design so far:
PARAMETERS start_date DateTime, end_date DateTime;
TRANSFORM Val(Nz(Count([Procedure]),0)) AS [Count]
SELECT [Daily Statistics].ProcDate
FROM [Daily Statistics]
WHERE ((([Daily Statistics].ProcDate) Between [start_date] And [end_date]))
GROUP BY [Daily Statistics].ProcDate
PIVOT [Daily Statistics].Procedure In ("1 Treadmills",
"2 Holter",
"3 Echo w/color doppler",
"4 Doppler Echo",
"5 Soppler Color Flow",
"6 Echocardiogram",
"7 Partial Echo",
"8 Stress Echo",
"9 Transesophageal EC",
"10 Dobutamine Echo",
"11 Cardiolite Treadmill",
"12 Persantine Stress",
"13 Peds Echo w/Doppler",
"14 Peds Doppler Echo",
"15 Peds Doppler Color Flow",
"16 Peds Echocardiogram",
"17 Peds Partial Echo",
"19 Peds Transesophageal EC",
"20 Definity");
Thank you in advance. Ryan