A
Asha
Hi, I am trying to return the last comment by projectid,
when I run this query it is still giving me all comments
instead of the last comment. What am I doing wrong?
Please help.
SELECT tblComments.PROJECTID, tblComments.COMMENT, Max
(tblComments.LASTACT_DT) AS [Last Comment Date]
FROM tblComments
GROUP BY tblComments.PROJECTID, tblComments.COMMENT
ORDER BY tblComments.PROJECTID, Max
(tblComments.LASTACT_DT);
when I run this query it is still giving me all comments
instead of the last comment. What am I doing wrong?
Please help.
SELECT tblComments.PROJECTID, tblComments.COMMENT, Max
(tblComments.LASTACT_DT) AS [Last Comment Date]
FROM tblComments
GROUP BY tblComments.PROJECTID, tblComments.COMMENT
ORDER BY tblComments.PROJECTID, Max
(tblComments.LASTACT_DT);