Your right it does work now. I'm not sure why it wasn't working before, more annoyingly I can't remember what error I was getting. I made a few changes before trying again and it works as I originally planner. How strange, there must of been something I changed. If I get the error again I'll post it here for future ref by anyone who reads this thread.