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 2 of 3 (23 items) < Previous 1 2 3 Next > Access data from button click event I have a button in a repeating section. When the code executes, I'd like to reference siblings of a parent node, but in the ClickedEventArgs of "e" there is only data from the current node. Devices Device[1] (repeating group) ... Posted to General (Forum) by PaulRAnderson on 12-05-2012 Re: Problem getting data with Iterator and Navigator Thank you! Your answer set me on the right path. I changed device to devices.Current as you suggested and also removed the definition of the innermost XPathNavigator, as the value of issue is the InnerXml. The code that works is: XPathNodeIterator devices = ... Posted to General (Forum) by PaulRAnderson on 07-24-2012 Problem getting data with Iterator and Navigator I am trying to get the values of two elements in an XML file and am almost there but it's not quite working. A simplistic view of the XML is: -------------------------------------------------------------------------------- <root> <device> ... Posted to General (Forum) by PaulRAnderson on 07-24-2012 Getting all elements with a particular name I want to select all elements in my XML file with the name "Issue". These fields appear at various places in the schema, at different levels. What is the best way to do this? Once I select them, I need to get its value as well as the value of a field one level up. Paul Posted to General (Forum) by PaulRAnderson on 07-17-2012 Re: Adding row to existing repeating table in C# I've discovered my problem. My code left an empty row at the beginning. Once I deleted that empty row, future AppendChild operations added a new row at the bottom. Paul Posted to General (Forum) by PaulRAnderson on 06-12-2012 Adding row to existing repeating table in C# I want my form to store data about imported XML files in a repeating table. New information should go in a new row, but my code always replaces the existing row with the new data. The schema is SAN (root) |-- my:ConstantVariables (group) ... Posted to General (Forum) by PaulRAnderson on 06-11-2012 Trouble using AppendChild with XmlNodeList I want to add some children to every occurrence of the group "Group" in an existing XML file. I’m using an XmlNodeList and find that the children are being added in the wrong place. The XML code I want to add ... Posted to General (Forum) by PaulRAnderson on 05-11-2012 Re: Getting repeating group data into a repeating section I thought I had chosen this path before, but this works:Repeating section with title based on GroupName is bound to repeating group Graph1.Section containing four of these repeating sections is bound to non-repeating group Groups.GroupName XPath is exactly as it was--absolute referenceSo thank you for your help. Through your help ... Posted to Newbie Questions (Forum) by PaulRAnderson on 04-20-2012 Re: Getting repeating group data into a repeating section [quote user="Hilary Stoupa"]Check the "Edit XPath" check box in the formula editor - what's the XPath used for GroupName? I bet an abosolute XPath is being used there. It should be using a relative path ... did you select the GroupName field with the field picker? [/quote] The XPath for GroupName ... Posted to Newbie Questions (Forum) by PaulRAnderson on 04-20-2012 Re: Getting repeating group data into a repeating section When I try to bind the section that contains the repeating section to Group or Groups, this is what I get. Is this part of my problem? Posted to Newbie Questions (Forum) by PaulRAnderson on 04-20-2012 Page 2 of 3 (23 items) < Previous 1 2 3 Next > Copyright © 2003-2019 Qdabra Software. All rights reserved.View our Terms of Use.