hi Paul,
you can always run the exception query as a derived table in the WHERE clause. i.e. you create a WHERE clause at the end of your main command object and then have the filter based on this derived table.
WHERE T01.IAPRT# IN
(
SELECT T3.IAPRT# FROM YOURTABLE T3 WHERE etc. etc.
)
as another option, if your db supports the SELECT WITH directive then please see here for more info on exception reporting using that directive.