You need to write code behind that button in order to do what you are asking. You code would perform all the save and submit funcionality.

Signature
Greg Collins [InfoPath MVP]
Please visit: http://www.InfoPathDev.com
How hard can this be? In fact, why was 'saveas' included as a choice on the
button action list? I want to have a single button on the document that
when clicked submit the data contained to the main SQL connection and then
saves the document to the default SharePoint Form Library with a name
derived from a field on the document.
I anyone can help, it would be greatly appreciated.
Ross
Ross Culver - 04 Apr 2005 15:31 GMT
Greg,
And that code is .....?
You need to write code behind that button in order to do what you are
asking. You code would perform all the save and submit funcionality.

Signature
Greg Collins [InfoPath MVP]
Please visit: http://www.InfoPathDev.com
How hard can this be? In fact, why was 'saveas' included as a choice on the
button action list? I want to have a single button on the document that
when clicked submit the data contained to the main SQL connection and then
saves the document to the default SharePoint Form Library with a name
derived from a field on the document.
I anyone can help, it would be greatly appreciated.
Ross