Hi Mark,
Thanks for your reply. I am trying to get the last payment date for each customer. If I use the method you describe I'm only getting 1 record...the last payment date of any customer.
If I have 3,000 customers and 25,000 payments I want 3,000 records returned...the last payment date...