AZdesertdog
IS-IT--Management
CR10-CE10-MSSQL2k
I have a simple listing of invoices that MUST be sorted by the date field. There is a possiblity of duplicate invoice numbers for different dates and I need to know if these are occuring. My thought is to suppress an asterisk unless a dupe record is identified and then print it next to the invoice number. The problem I have is figuing out my dupes in order to 'star' them.
Desired results: Sorted by Date and asterisks showing any invoices that are in the report more than once regardless of date.
Invoice Date
12345 1/1/04
*12346 1/2/04
12347 1/3/04
12349 1/3/04
*12352 1/4/04
*12346 1/4/04
12407 1/4/04
12432 1/5/04
*12352 1/6/04
Any help appreciated!
I have a simple listing of invoices that MUST be sorted by the date field. There is a possiblity of duplicate invoice numbers for different dates and I need to know if these are occuring. My thought is to suppress an asterisk unless a dupe record is identified and then print it next to the invoice number. The problem I have is figuing out my dupes in order to 'star' them.
Desired results: Sorted by Date and asterisks showing any invoices that are in the report more than once regardless of date.
Invoice Date
12345 1/1/04
*12346 1/2/04
12347 1/3/04
12349 1/3/04
*12352 1/4/04
*12346 1/4/04
12407 1/4/04
12432 1/5/04
*12352 1/6/04
Any help appreciated!