Thanks got it working now...really strange sometimes it gives the error...sometimes not...