Lowell (5/10/2010)
the logic is the same...it's just the test condition that changes:don't think you wan t not exists...you want to confirm that there is at least one row on TableC that is not in tableB:
IF EXISTS (SELECT 1 FROM TableC LEFT OUTER JOIN ON TABLEC.ID = TABLEB.ID WHERE TableC.fieldname = 'Y' and TableB.fieldname is null)
Thanks, Lowell. . . That's not working though. I know this is simple, but with everything I am trying, I'm not getting results I need.