Hi,
Thanks for your help. Think I am getting somewhere now.
I have 2 rules on the submit button, submitting using a data connection. One submits to the SharePoint form library and the other as an email message. However, when I try to submit the form I get the following error message:
InfoPath cannot submit the form.
An error occurred while ...