J
Joe
I have the following query which successfully retrieves data within the dates
requested. However, some data may still be awaiting entry leaving some
fields such as "Number_Appts_Attend" empty. How can I use Is Null or Is Not
Null in my query to exclude incomplete data?
SELECT Count(Tbl_Appointments.PMKEYS) AS CountOfPMKEYS,
Avg(Tbl_Appointments.Number_Appts_Author) AS AvgOfNumber_Appts_Author,
Avg(Tbl_Appointments.Number_Appts_Attend) AS AvgOfNumber_Appts_Attend,
Tbl_Appointments.Outsource_Date
FROM Tbl_Appointments
GROUP BY Tbl_Appointments.Outsource_Date
HAVING (((Avg(Tbl_Appointments.Number_Appts_Attend))>0) AND
((Tbl_Appointments.Outsource_Date) Between [Enter Start Date:] And [Enter End
Date]));
Any help is much appreciated.
requested. However, some data may still be awaiting entry leaving some
fields such as "Number_Appts_Attend" empty. How can I use Is Null or Is Not
Null in my query to exclude incomplete data?
SELECT Count(Tbl_Appointments.PMKEYS) AS CountOfPMKEYS,
Avg(Tbl_Appointments.Number_Appts_Author) AS AvgOfNumber_Appts_Author,
Avg(Tbl_Appointments.Number_Appts_Attend) AS AvgOfNumber_Appts_Attend,
Tbl_Appointments.Outsource_Date
FROM Tbl_Appointments
GROUP BY Tbl_Appointments.Outsource_Date
HAVING (((Avg(Tbl_Appointments.Number_Appts_Attend))>0) AND
((Tbl_Appointments.Outsource_Date) Between [Enter Start Date:] And [Enter End
Date]));
Any help is much appreciated.