Bah sorry I must have the test program in a different folder. I will have a look at JMC's project and see if I can make sense of it. Thankyou