I
Ian
Hi
I have a query which takes a list of products, whereby each product can be
broken down into several different packages. for example:
AB1234.01
AB1234.02
AB1234.03
Each of these products has several different criteria which must match
across all of the products, irrelevant of what is after the "." The query I
have at the moment removes everything after the dot, then groups all the
products together. Any products where they do not match don't group, next I
count the products, and where the count of the product is greater than 1
link this back to the original table (which has an extra column for each
product without the information after the dot) to display all matching
records.
The problem is however that, say I have 10 packages and only 1 of them does
not match, my query will display all 10 packages and I have to manually
search through to find the odd one out. Which when I have about 50,000
products is very time consuming.
I have spent all afternoon trying to figure out a way to only display the
odd one's, but can't seem to get the result I am after. Can someone point me
in the right direction of how I can only show the incorrect records? I am
not sure whether I can do this with queries, or if I will need to use some
VBA.
I am hoping someone can help me out with this here, hopefully I made some
sense above. Thanks for any help.
Ian
I have a query which takes a list of products, whereby each product can be
broken down into several different packages. for example:
AB1234.01
AB1234.02
AB1234.03
Each of these products has several different criteria which must match
across all of the products, irrelevant of what is after the "." The query I
have at the moment removes everything after the dot, then groups all the
products together. Any products where they do not match don't group, next I
count the products, and where the count of the product is greater than 1
link this back to the original table (which has an extra column for each
product without the information after the dot) to display all matching
records.
The problem is however that, say I have 10 packages and only 1 of them does
not match, my query will display all 10 packages and I have to manually
search through to find the odd one out. Which when I have about 50,000
products is very time consuming.
I have spent all afternoon trying to figure out a way to only display the
odd one's, but can't seem to get the result I am after. Can someone point me
in the right direction of how I can only show the incorrect records? I am
not sure whether I can do this with queries, or if I will need to use some
VBA.
I am hoping someone can help me out with this here, hopefully I made some
sense above. Thanks for any help.
Ian