K
klkropf
I have a query that returns the max date value correctly, but I need it to
return the other data associated with that record. I would like to do it all
in one query.
tblTransferData houses the ID and AsgStartDate and is joined to
tblTransferSnapShot by ID.
tblTransferSnapShot holds the Snaphot Dates that I'm returning the max
value. I need the other data associated with this max Snapshot Date record,
such as Band and Title.
Below is the query so far. Thanks
SELECT tblTransferData.ID, Max(tblTransferSnapShot.[Snapshot Date]) AS
[MaxOfSnapshot Date]
FROM tblTransferData INNER JOIN tblTransferSnapShot ON tblTransferData.ID =
tblTransferSnapShot.ID
WHERE (((tblTransferData.AsgEndDate)>[Snapshot Date]))
GROUP BY tblTransferData.ID;
return the other data associated with that record. I would like to do it all
in one query.
tblTransferData houses the ID and AsgStartDate and is joined to
tblTransferSnapShot by ID.
tblTransferSnapShot holds the Snaphot Dates that I'm returning the max
value. I need the other data associated with this max Snapshot Date record,
such as Band and Title.
Below is the query so far. Thanks
SELECT tblTransferData.ID, Max(tblTransferSnapShot.[Snapshot Date]) AS
[MaxOfSnapshot Date]
FROM tblTransferData INNER JOIN tblTransferSnapShot ON tblTransferData.ID =
tblTransferSnapShot.ID
WHERE (((tblTransferData.AsgEndDate)>[Snapshot Date]))
GROUP BY tblTransferData.ID;