Hi,
I have a table "Reciepts_Table" in MS Access Database where I stored the information of received amount from all customers. I can extract all the records that customers paid to date in a report. But what I need is, instead of all records I only want to see the last record of each customer so that I can understand when the customer last paid.
This is the query that I am using right now:
Select CustomerName, ReceiptNumber, ReceiptDate, AmountReceived from Receipts_Table ORDER BY ReceiptNumber.
How to modify the above query to get only the last record of each customer in a report.
Please support.
I have a table "Reciepts_Table" in MS Access Database where I stored the information of received amount from all customers. I can extract all the records that customers paid to date in a report. But what I need is, instead of all records I only want to see the last record of each customer so that I can understand when the customer last paid.
This is the query that I am using right now:
Select CustomerName, ReceiptNumber, ReceiptDate, AmountReceived from Receipts_Table ORDER BY ReceiptNumber.
How to modify the above query to get only the last record of each customer in a report.
Please support.