The vb program will split the strings and remove unnecessary values such as 0's, and converts strings to datetime.
Yep... you're right... database sure can't do any of that 😉 And, I'm sure that the VB program does it with much more speed... 😀
I enforce the "no duplicates" via my vb program and it is working
Ummm... so you checked the table for duplicates, eh? And the table has a Primary Key, or at least a unique index to double check for you, huh?
Dave is correct... either you have duplicates or the report code is wrong. You need to check both.
--Jeff Moden
Change is inevitable... Change for the better is not.