CiViCChiC79
New Member
- Joined
- Oct 7, 2015
- Messages
- 4
Hi There!
I am having trouble finding an answer to my question. I know how to append records to a table without getting a key violation. In this case I need to check TWO other tables for matching keys before appending.
I tried:
Criteria: Not In (SELECT tblPLDenialReview1_Initial.AppNumber FROM tblPLDenialReview1_Initial) AND Not In (SELECT tblPLDenialsQueue_Tier001.AppNumber FROM tblPLDenialsQueue_Tier001)
But that only allowed 3 records out of 15,000 to post. If I use OR in the above statement, of course it works just like the criteria isn't specified at all. A given record will never exist in both tables at the same time.
Any help you can offer is greatly appreciated!!
Thanks, CiViCChiC79
I am having trouble finding an answer to my question. I know how to append records to a table without getting a key violation. In this case I need to check TWO other tables for matching keys before appending.
I tried:
Criteria: Not In (SELECT tblPLDenialReview1_Initial.AppNumber FROM tblPLDenialReview1_Initial) AND Not In (SELECT tblPLDenialsQueue_Tier001.AppNumber FROM tblPLDenialsQueue_Tier001)
But that only allowed 3 records out of 15,000 to post. If I use OR in the above statement, of course it works just like the criteria isn't specified at all. A given record will never exist in both tables at the same time.
Any help you can offer is greatly appreciated!!
Thanks, CiViCChiC79