Created pirVal and used it with the AND, as you suggested...and it works...thank you very much Larry.