This code (query) is run via a command button on a form.
I'm looking for a way to allow the user to insert a date, ie., 2006-08 into all three date fields at one time as they will always use the same date;
LISTDATE
PENDINGDATE
CLOSEDDATE
Thanks . . . Rick
I'm looking for a way to allow the user to insert a date, ie., 2006-08 into all three date fields at one time as they will always use the same date;
LISTDATE
PENDINGDATE
CLOSEDDATE
Thanks . . . Rick
Code:
SELECT OCDownloadRES.CITY,
Count(OCDownloadRES.LISTDATE) AS [Sum ofLISTDATE],
Count(OCDownloadRES.PENDINGDATE) AS [Sum of PENDINGDATE], Count(OCDownloadRES.CLOSEDDATE) AS [Sum of CLOSEDDATE]
FROM OCDownloadRES
GROUP BY OCDownloadRES.CITY, OCDownloadRES.PROPSUBTYPE
HAVING (((OCDownloadRES.PROPSUBTYPE)=[ENTER PROP TYPE]));