J
Jake
Hi,
The following SQL statement works to extract the records I need and uses a
Max statement to extract the maximum value from the Amndt No field:
SELECT tblFAR25AmndtZero.Tencount, Max(tblFAR25AmndtList.[Amndt No]) AS
[MaxOfAmndt No], tblFAR25AmndtList.strFAR25para, tblFAR25AmndtZero.Rule
FROM tblFAR25AmndtList INNER JOIN tblFAR25AmndtZero ON
tblFAR25AmndtList.strFAR25para = tblFAR25AmndtZero.strFAR25para
GROUP BY tblFAR25AmndtZero.Tencount, tblFAR25AmndtList.strFAR25para,
tblFAR25AmndtZero.Rule
ORDER BY tblFAR25AmndtZero.Tencount, Max(tblFAR25AmndtList.[Amndt No]) DESC;
But for some odd reason it truncates the Rule memo field. Is there a way to
prevent this?
Thanks,
Jake
The following SQL statement works to extract the records I need and uses a
Max statement to extract the maximum value from the Amndt No field:
SELECT tblFAR25AmndtZero.Tencount, Max(tblFAR25AmndtList.[Amndt No]) AS
[MaxOfAmndt No], tblFAR25AmndtList.strFAR25para, tblFAR25AmndtZero.Rule
FROM tblFAR25AmndtList INNER JOIN tblFAR25AmndtZero ON
tblFAR25AmndtList.strFAR25para = tblFAR25AmndtZero.strFAR25para
GROUP BY tblFAR25AmndtZero.Tencount, tblFAR25AmndtList.strFAR25para,
tblFAR25AmndtZero.Rule
ORDER BY tblFAR25AmndtZero.Tencount, Max(tblFAR25AmndtList.[Amndt No]) DESC;
But for some odd reason it truncates the Rule memo field. Is there a way to
prevent this?
Thanks,
Jake