Thanks for the advice guys I have got it working now. The problem before was just an error message. Thanks again.