P
Pat
I have a query that has a WHERE clause that checks for values IN, and
I pass it a list of values, like so:
WHERE Table.Fld08 IN ("Value1", "Value2", ...)
Because of a recent change in those values, I thought it best to
create a table to manage the values, and use a subquery to get the
current list, so I changed the query to the following:
WHERE Table.Fld08 IN (SELECT ValueName FROM tblValues)
Now I'm only getting about half the records that I got with the
previous version. Any idea why this would be? Better yet, how to
resolve it?
I pass it a list of values, like so:
WHERE Table.Fld08 IN ("Value1", "Value2", ...)
Because of a recent change in those values, I thought it best to
create a table to manage the values, and use a subquery to get the
current list, so I changed the query to the following:
WHERE Table.Fld08 IN (SELECT ValueName FROM tblValues)
Now I'm only getting about half the records that I got with the
previous version. Any idea why this would be? Better yet, how to
resolve it?