ingvar, just changed defaults to upper case, program now works fine.
Just knew it had to be somthing stupid I had done.
Thanks for your help and patience.

BG