Submitting form using managed code that contain Repeating Table - InfoPath Dev
in

InfoPath Dev

Submitting form using managed code that contain Repeating Table

Last post 11-18-2008 05:44 PM by erickwidya. 4 replies.
Page 1 of 1 (5 items)
Sort Posts: Previous Next
  • 11-17-2008 07:43 PM

    Submitting form using managed code that contain Repeating Table

    i already set to Full Trust, already deploy the form template..can viewed in web browser..but when i submit it, it have an error

     not sure why

     i used this code in submit button


                XPathNavigator nav = this.CreateNavigator();
                nav.SelectSingleNode("/my:myFields/my:myRepeatingValue", NamespaceManager).SetValue(nav.SelectSingleNode("/my:myFields/my:BPP", NamespaceManager).InnerXml);
                this.Submit();

     

    any insight or link?

     

    thx


  • 11-17-2008 11:00 PM In reply to

    Re: Submitting form using managed code that contain Repeating Table

    Hi,

    Take a submit data connection and use the following code line instead of ‘this.Submit()'

    this.DataConnections["Submit connection name"].Execute();

    For more information, go through the folllowing link.

    http://blogs.msdn.com/infopath/archive/2006/06/06/619143.aspx

    Swathip
    www.ggktech.com
  • 11-18-2008 02:17 AM In reply to

    Re: Submitting form using managed code that contain Repeating Table

     

    Take a submit data connection and use the following code line instead of ‘this.Submit()' -> and the Submit will be to my Sharepoint List?

     

    the link u gave, i still don't understand how that can loop through my Repeating table

     

    oo man, infopath is so hard to understand :(

  • 11-18-2008 05:17 AM In reply to

    Re: Submitting form using managed code that contain Repeating Table

    Hi

    Do you want to submit the form to a SharePoint list?  Or do you want to store any information in to repeating table fields while submitting the form? Can you provide more information?

    Swathip
    www.ggktech.com
  • 11-18-2008 05:44 PM In reply to

    Re: Submitting form using managed code that contain Repeating Table

    thx swathip

     Do you want to submit the form to a SharePoint list?  Or do you want to store any information in to repeating table fields while submitting the form? Can you provide more information?

    sorry. i'm not sure which one is the one i need..let me try to explain what i do now

    i got a form that has repeating table in it..when user  submit, all values will be save to database (in parent table for the header and child table for the repeating table value) and also to sharepoint list (i'm not sure wether just simple as submit or store the value into repeating table like u said)

    i have managed to submit and also save to database before but it got no repeating table

    now i have no idea how to do it..

     [EDIT]: found something http://www.bizsupportonline.net/infopath2007/loop-through-items-repeating-table.htm

     

     

    thx

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