I am designing a form in Infopath 2007 to connect to a form library in Sharepoint 2007. It should open up in the client Infopath application as I have other things in the form that are not compatible with browser. I am publishing the form as a content type on the Sharepoint site.
The submit data connection uses now() as the file name, and the "Allow Overwrite if file exists" box is checked.
From Sharepoint I go to New, then MyForm (content type name), which opens Infopath, then fill out the form and press submit (the form is using the standard submit button in the tool bar, with no custom stuff, tied to the data connection above). I get the message The form was submitted successfully. A new record is created in the Sharepoint form library with the date time as the name. Excellent.
I click on the form that was just added and open it up in Infopath. I make a change, and press Submit. I see a save box flash by looking like it is saving, then the message The form was submitted successfully. I press OK, then another dialog box "Do you want to save the changes to <original date time>.xml? I say Yes. Back in the Sharepoint form library, there are now two duplicate identical records.
Any ideas why two records are created? Thanks in advance for your help!
Shaun