J
Jordan
I have a table of payments made by clients. It includes
the fields:
PaymentID
ClientID
DateRec
AmtRec
I was trying to use the Last function on the Total row to
return the most recent payment information for each
client. However, I found these are unreliable and using
the Max function was suggested instead. However, this
would only return the most recent date. How could I get
the most recent AmtRec with it? If I put GroupBy for
AmtRec, it'll return each payment separate. Using Max
doesn't help because the most recent payment isn't
necessarily the largest. Is there any other way I can
get the most recent record information for each client?
the fields:
PaymentID
ClientID
DateRec
AmtRec
I was trying to use the Last function on the Total row to
return the most recent payment information for each
client. However, I found these are unreliable and using
the Max function was suggested instead. However, this
would only return the most recent date. How could I get
the most recent AmtRec with it? If I put GroupBy for
AmtRec, it'll return each payment separate. Using Max
doesn't help because the most recent payment isn't
necessarily the largest. Is there any other way I can
get the most recent record information for each client?