Stangleboy
Programmer
I was given an Excel document the shows reservation (client ID numbers) and the number of days stayed (18000+ records). So I have a lot of duplicate customer ID numbers with different number of days stayed and I want to keep the first entry and disregard the rest because the first ID number is accurate. So I export these fields to Access with a auto-primary key. So I want to delete all duplicates and my fields in my table are ID (Key)/ Customer ID/ # of days stayed. Example:
Key Cusomer ID Days stayed
1 05061234 3
2 05061234 1
3 05061234 7
I want the first record of "3" and have something delete the rest of the records (coding, macro, query, etc.). Any ideas, and thank you in advance for your time.
Key Cusomer ID Days stayed
1 05061234 3
2 05061234 1
3 05061234 7
I want the first record of "3" and have something delete the rest of the records (coding, macro, query, etc.). Any ideas, and thank you in advance for your time.