views:

339

answers:

1

I need help getting an infopath form to not overwrite existing files going to a sharepoint library.

I have an infopath form with a custom submit. In the submit I am doing "me.saveas(http:\mysharepointlibrary\FormDropDownValue)

This is working just fine. But, if I create a new form and pick the same drop down value I can't get the form to not overwrite the old one. I also tried me.save() and me.submit(), both of those bomb.

I have the data connection set up to not allow overwrites, but it doesnt even seem to go into that connection to make the save. I think because of the custom submit code.

Any help will be greatly appreciated.

+2  A: 
Toni Frankola
The value is dynamic based on a drop down list. But, I only want one occurrence of each item in the drop down list to be saved. I'd like to throw an edit that says something to the effect of (drop down list item already saved)
aape
In such case I would recommend submitting your form via custom web service.
Toni Frankola