Updated Infopath form Not Submitting to Database?? - InfoPath Dev
in

InfoPath Dev

Updated Infopath form Not Submitting to Database??

Last post 08-02-2009 10:14 PM by Harish. 3 replies.
Page 1 of 1 (4 items)
Sort Posts: Previous Next
  • 07-31-2009 06:06 AM

    Updated Infopath form Not Submitting to Database??

    Hi All

    I have designed Browser-Enabled Infopath form. I have written custom code for  action type submit button Which will  call a  web-service for storing into the Sql server databse.

    I have published this form to sharepoint site and  attached the Infopath template to a Form library.

    Everything is working for the First time .Data is saved at backend also

    Once the Xml file is Created in the Form Library. If I open the form,do some changes  and Submit the file The data is saved at the Form library only.

    Not to the Database   

    I kept a break point to the button code which is not firing.

    Any Idea???

    Thanks In Advance

    Harish 

  • 07-31-2009 06:06 AM In reply to

    Updated Infopath form Not Submitting to Database??

    Hi All

    I have designed Browser-Enabled Infopath form. I have written custom code for  action type submit button Which will  call a  web-service for storing into the Sql server databse.

    I have published this form to sharepoint site and  attached the Infopath template to a Form library.

    Everything is working for the First time .Data is saved at backend also

    Once the Xml file is Created in the Form Library. If I open the form,do some changes  and Submit the file The data is saved at the Form library only.

    Not to the Database   

    I kept a break point to the button code which is not firing.

    Any Idea???

    Thanks In Advance

    Harish 

     

  • 07-31-2009 07:02 AM In reply to

    Re: Updated Infopath form Not Submitting to Database??

    Because this deals with custom code, you might want to include it in case the coders in this forum want to review it.

    Ernesto Machado
    Qdabra® Software/ InfoPathDev.com
    The InfoPath Experts – Streamline data gathering to turn process into knowledge.™


  • 08-02-2009 10:14 PM In reply to

    Re: Updated Infopath form Not Submitting to Database??

    Hi ErnestoM

    Thanks for the reply

    When user saves a new document using web-service  I am saving the data to Sql server and Using DataConnection the Xml file is created and saved to the Sharepoint library.This flow is working fine.

    Now when user want to edit the existing document and saves it. The modified data is saved at the library side not at the Sql server side.because The code events are not firing.

    Any idea how to fire this events????

    Thanks

    Haish

     

Page 1 of 1 (4 items)
Copyright © 2003-2019 Qdabra Software. All rights reserved.
View our Terms of Use.