Search - InfoPath Dev Sign in | Join | Help InfoPath Dev InfoPath Dev is dedicated to bringing you the information and tools you need to be successful in your Microsoft Office InfoPath development projects. Home Blogs Forums Photos Downloads Search More Search Options Page 1 of 1 (10 items) Re: Populate main table from secondary table Thanks Hilary, I forgot to put on the previous comment that I am unable to add in an "id" field on to the Secondary Database Connection ... Also thanks for the help and you time so far Hilary and donStephen Posted to General (Forum) by hayer89 on 01-10-2014 Re: Populate main table from secondary table The problem with that approach is that I am trying to submit into a database table, meaning I am unable to add the "count" and "lastitem" fields .. which are needed :( Unless there's a way to submit user created fields into the database table? Posted to General (Forum) by hayer89 on 01-10-2014 Re: Populate main table from secondary table Thanks donstephen, but I do not have qRules, is there any way to do it without? Posted to General (Forum) by hayer89 on 01-10-2014 Programmatically Copy Data from Secondary Data Connection into Main Data Connection I am having trouble copying data from my secondary data connection into my main data connections repeating table, below is my code for adding an item to my main data connections repeating table: Private Sub AddItem( _ ByVal Car As String) Dim doc As XmlDocument = New XmlDocument() Dim group As XmlNode = ... Posted to General (Forum) by hayer89 on 01-09-2014 Re: Populate main table from secondary table I'm trying to use the second approach that uses the qRules' Insert command, but I am having difficulty getting it to work. Maybe its because I am using a database as the main connection instead of an XML connection? I've attached my InfoPath form with the QdabraRules inside the form. Would really appreciate it if you could have a ... Posted to General (Forum) by hayer89 on 12-31-2013 Re: Populate main table from secondary table Thanks for the reply donstephen, could you please resend that form in InfoPath 2007 :) Posted to General (Forum) by hayer89 on 12-31-2013 Re: Populate main table from secondary table Thank you for your help donstephen, but I was looking for the secondary data source fields to be submitted into the main data connection into separate records, not one large concatenated entry, please see the attached example of what I am trying to do. Basically trying to copy the fields in a secondary data source like for like and submitting ... Posted to General (Forum) by hayer89 on 12-31-2013 Re: Populate main table from secondary table Thanks donstephen, the approach is what I am looking for, however I need to populate the same field multiple times from the Secondary data source. Posted to General (Forum) by hayer89 on 12-30-2013 Re: Populate main table from secondary table Thanks for your reply donstephen, just to answer your question my button is located within the repeating table, I am however unable to open your sample form as I only have InfoPath 2007 SP3 to work with. The code is: Public Sub CTRL151_4_Clicked(ByVal sender As Object, ByVal e As ClickedEventArgs) Dim secDSNav As XPathNavigator = ... Posted to General (Forum) by hayer89 on 12-30-2013 Populate main table from secondary table I am trying to populate My main table which only consists of one field from a secondary table automatically when a button is pressed. It is throwing up an error on this line: MainDataSource.CreateNavigator().SelectSingleNode( _ "/dfs:myFields/dfs:dataFields", _ ... Posted to General (Forum) by hayer89 on 12-19-2013 Page 1 of 1 (10 items) Copyright © 2003-2019 Qdabra Software. All rights reserved.View our Terms of Use.