Submit using code to data connections

D

DanielleVBANewbie

Good Evening,

I have a form that was built about a year ago. It is connected to a database
(Main Connection) and a Sharepoint site (Submit Connection). I had enabled
the rules of the submit to submit to the DB first and then to the sharepoint
site. We have been getting timeout errors.

I was given the below code to put into the "submit" code to extend the
timeout of the sharepoint site.
XDocument.QueryAdapter.Timeout = 120;
XDocument.QueryAdapter.Query();

Well the current form uses rules not code. Is there a way to put this in
and still use the rules?

If not, can someone give me an example of code that would be used to submit
using the data connections that are already built? The Submit connection
names the form using a concat function on the sharepoint site.

Thanks for any assistance. Have a good night.
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top