Hello
I am stuck on this one and need help urgently.. I have an Infopath 2007 form developed with InfoPath Designer 2010.. I have created a button that builds a huge SQL string then submits it via a SQL connection already existing in the form.. The problem I am having is when the user hits the button the SQL string is being run twice on the SQL server.. I've done a trace and watched it happen.. The batch starts, each command is completed, the batch completes, infopath does some close out commands then it runs the batch again... I've put breakpoints in the code and made sure it never moves from that line of code and it doesn't.. I can't figure out why it is running the SQL string twice...