Using infopath 2007. I have created a data connection where I am submitting data to a Sharepoint site. I have the box checked that says 'allow overwrites if file exists'. My code when the button is clicked is:
DataConnection conn = DataConnections["Sharepoint Library Submit"];
conn.Execute();
When I open a form and modify it and click the submit button the original file stays the same but it creates a new one with a new timestamp for the file name. If I use the today() function for the filename everything works as it should.
Anyone have any ideas?
Thanks a lot!!