in reply to Re^2: Ending a 'next unless' loop...
in thread Ending a 'next unless' loop...

Unless I'm missing something I think you meant

For some odd reason, I thought <EMPLOYEES> contained the query results. Don't try to make sense of it for I was completely wrong.