Thanks Al, you are awesome!! I made a couple of minor changes and it works like a gem, at least on the 5 records I tested it on. Wish me luck with the 40,000 records I intend to run it on. Thanks again.

Adrae