• Your text says you want the second column to be blank, but the actual code tests the exact opposite, so far as I can tell. What am I missing?

    And TS_USER_11 <> ''

    That part of the code is testing to make sure it is NOT blank.

    - Gus "GSquared", RSVP, OODA, MAP, NMVP, FAQ, SAT, SQL, DNA, RNA, UOI, IOU, AM, PM, AD, BC, BCE, USA, UN, CF, ROFL, LOL, ETC
    Property of The Thread

    "Nobody knows the age of the human race, but everyone agrees it's old enough to know better." - Anon