GerryGoldberg
Technical User
- Apr 12, 2001
- 55
I have at table (tblGRF) that contains:
clientID (long integer)
update (date)
status (yes/no)
A record is added to this table each time a client's status is changed.
So, given a specific date, I need to be able to create a list of clients (with their status) where their Update value is <= to the specific date. This looks like a sub-query application to me, but I keep selecting all of the records in the table. Here is my query:
SELECT tblgrf.clientID, tblgrf.update,tblgrf.owf, tblgrf.status
FROM tblgrf
WHERE (((Exists (select max(date_of_update) <= #9/30/2000# FROM tblGRF GROUP BY client_ID))=True));
Thanks,
Gerry Goldberg
clientID (long integer)
update (date)
status (yes/no)
A record is added to this table each time a client's status is changed.
So, given a specific date, I need to be able to create a list of clients (with their status) where their Update value is <= to the specific date. This looks like a sub-query application to me, but I keep selecting all of the records in the table. Here is my query:
SELECT tblgrf.clientID, tblgrf.update,tblgrf.owf, tblgrf.status
FROM tblgrf
WHERE (((Exists (select max(date_of_update) <= #9/30/2000# FROM tblGRF GROUP BY client_ID))=True));
Thanks,
Gerry Goldberg