G
Guest
I have a table with several entries for each ID. I want to create a report that lists only the latest info. How do I modify this query to give me only the latest [EditDate] for each [TagName].[RoleName]
SELECT tblTags.TagID, [TagName] & "." & [RoleName] AS TagRole, tblTagSentences.EditDate, tblTagSentences.MaleSentence, tblTagSentences.[Female Sentence
FROM tblRoles INNER JOIN (tblTags INNER JOIN tblTagSentences ON tblTags.TagID = tblTagSentences.TagID) ON tblRoles.RoleID = tblTagSentences.RoleID;
SELECT tblTags.TagID, [TagName] & "." & [RoleName] AS TagRole, tblTagSentences.EditDate, tblTagSentences.MaleSentence, tblTagSentences.[Female Sentence
FROM tblRoles INNER JOIN (tblTags INNER JOIN tblTagSentences ON tblTags.TagID = tblTagSentences.TagID) ON tblRoles.RoleID = tblTagSentences.RoleID;