Hi JHB
It works perfectly. I have tested it. It works only when the "BD1" condition comes before the "BD11". If there is a "BD" condition, then that has to come before the BD1 condition. If the sequence is incorrect, the logic fails. Thats what I am seeing.
I used the following case statement...