Hi all

I have now figured this out and everything is now working perfectly.
Thanks all for your addvice.

Vegard