Ruz #1 cheers for that. i wll look in to it today. I have a tendency to make things more complicated than need be sometimes.I got my code working, but its created more problems now.