I have an unmatched query that I want to use to find all the records that don't match (obviously) the ID fields, but I also want to set additional criteria on the ID field so that it doesn't pull archived data out of the first table.
So basically, T1 has the full set of data, old and new. T2 has a subset of the data that I work with and append data to it from T1 whenever T1 is updated, but I have removed old data from T2 that I want to stay out of it. However, when I run the unmatched query, it obviously pulls both old (archived) and new data up in the results. I want to limit the unmatched results from T1 to start with the last record in T2 (ID numbers are sequential).
Any ideas?
So basically, T1 has the full set of data, old and new. T2 has a subset of the data that I work with and append data to it from T1 whenever T1 is updated, but I have removed old data from T2 that I want to stay out of it. However, when I run the unmatched query, it obviously pulls both old (archived) and new data up in the results. I want to limit the unmatched results from T1 to start with the last record in T2 (ID numbers are sequential).
Any ideas?