This is part 2 to a <a href = " I had earlier</a>.
So now I have the records I want from my first query, and then I made another query to capture the duplicate Numbers from the first query. Now that I have that duplicates query, I want to take any "Number" records that have a new field, "Code" in common. For example:
ID Number Sequence Description Code
1 1000 1 Cat CD111
2 1000 3 Dog CD111
3 1080 1 Rabbit CD122
4 1080 2 Dog CD123
For my results I'd want ID#'s 1 and 2, but not 3 and 4. 1 and 2 would apply because "Number" is the same, "Sequence" is different, "Description" is different but "Code" is the same. 3 and 4 would not because the "Code" is different for each record.
Thanks for any help in advance
So now I have the records I want from my first query, and then I made another query to capture the duplicate Numbers from the first query. Now that I have that duplicates query, I want to take any "Number" records that have a new field, "Code" in common. For example:
ID Number Sequence Description Code
1 1000 1 Cat CD111
2 1000 3 Dog CD111
3 1080 1 Rabbit CD122
4 1080 2 Dog CD123
For my results I'd want ID#'s 1 and 2, but not 3 and 4. 1 and 2 would apply because "Number" is the same, "Sequence" is different, "Description" is different but "Code" is the same. 3 and 4 would not because the "Code" is different for each record.
Thanks for any help in advance