I'm fairly new to CR, so this may be easy, but. . .
I have created a report that may have duplicate values in field "A" (due to multiple matches between my "Customers" and "Sales" tables). How can I supress all lines with a duplicate value in "A" EXCEPT for the line that has the most recent date value in column "B"?
The goal is to have a report with one (and only one) line for each record in my "Customers" table, pulling in the most recent sale to that customer (if there is a sale on record) from my "Sales" table.
The report is actually a lot more complicated than this (six tables involved), but that's the only part I'm having trouble with. Thanks in advance!
VBAjedi
I have created a report that may have duplicate values in field "A" (due to multiple matches between my "Customers" and "Sales" tables). How can I supress all lines with a duplicate value in "A" EXCEPT for the line that has the most recent date value in column "B"?
The goal is to have a report with one (and only one) line for each record in my "Customers" table, pulling in the most recent sale to that customer (if there is a sale on record) from my "Sales" table.
The report is actually a lot more complicated than this (six tables involved), but that's the only part I'm having trouble with. Thanks in advance!
VBAjedi