Hi Patrick,
Thanks for the quick reply.
To answer your question I'm using Infopath 2007 SP1 (Actual version 12.0.6214.1000). I did as you asked, and reduced the size so that it worked, then gradually increased it. I found the threshold and removed some unnecessary fields in the XML file which were obviously clogging it up a little. This now works like a charm, thanks.
As for the last query, the form template is published to a Form Library, not a document library.
Now all appears to be okay, however there is now a niggling issue when the form loads up. I am getting an error:
Stop running this script? A script on this page is causing Internet Explorer to run slowly. If it continues to run, your computer may become unresponsive.
If I click NO, nothing really happens, if I click YES, then the message goes away, and the form works as it should.
I've searched around the internet for an answer, apparently theres an option to turn off (Tools -> Internet Options -> Advanced - Check the ‘Disable script debugging (Internet Explorer)' and
‘Disable script debugging (Other)' checkboxes to avoid script error in
your form) however this is not really a feasible option as the form is expected to be completed by 2000+ users, and we cannot change this option for all of them.
If this is unavoiable due to the XML data source being so big, are there any alternatives? I've read in other places about setting up a web service to interact with a sharepoint list, but I cannot find any further information on this, nor (given that I am not a Sharepoint administrator at the company I work for) would I have the account priveledges to create this.
Thanks again for your help!
Cheers,
Dustin