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 Use our Google Custom Search for best site search results. Search You searched for the word(s): preceding-sibling More Search Options Page 1 of 7 (66 items) 1 2 3 4 5 Next > ... Last » Re: Infopath xpath - preceding-sibling only showing first value, not preceding Here's a sample - save locally, right click & select design, then preview. I'm just summing the previous numberapproved and adding in the current in mine. I think for your schema the formula for the default value for totalnumberapproved would be: sum(../preceding-sibling::my:yearrpanel/my:numberapproved) + ../my:numberapproved Posted to General (Forum) by Hilary Stoupa on 06-11-2019 Re: count(preceding-sibling) can get it into my head and cant make it work Sorry, I cant see the image so this is the field structure: -myFields +queryFields -dataFields +d:ASL_Finished_Good +ASL_Raw_Material ... Posted to Newbie Questions (Forum) by al1en on 04-05-2019 Re: Infopath xpath - preceding-sibling only showing first value, not preceding Here's a blog post from Greg Collins from back in 2005 that I still refer to for help with the preceding-sibling axis, in case it is helpful for you as well: https://www.infopathdev.com/blogs/greg/archive/2005/06/13/Using-XPath_2700_s-_2700_preceding_2D00_sibling_2700_-Axis-Correctly.aspx Posted to General (Forum) by Hilary Stoupa on 06-12-2019 Re: count(preceding-sibling::*) + 1 Hello Hilary, thanks for speedy response. I'm not getting this - I've used Jimmy's concat(substring('000', 1, 3 - string-length(field)), field) and get this to work amd shows 000's but what am I supposed to do with these? I have a repeating table with a textbox called "ScopeID" in the 1st row - ... Posted to InfoPath 2010 (Forum) by WiReLaD on 10-03-2019 Re: Infopath xpath - preceding-sibling only showing first value, not preceding Thank you Hilary, It worked like a charm, and gave me an overall understanding of preceding siblings. I have been reading and using your information for years, and am a big fan. Thank you, Shlomo Posted to General (Forum) by bitultorah on 06-11-2019 Infopath xpath - preceding-sibling only showing first value, not preceding Good afternoon, I have a repeating section, where contains two relevant number fields. The first is where the user inputs a number, and the second totals it, adding that number with the previous total of the last section, placing it in this section's ... Posted to General (Forum) by bitultorah on 06-07-2019 Re: sum preceding nodes in repeating sections I've attached a sample form. Right click the linked form, select save as to save locally. Right click the saved form, select Design to open in design mode, then preview. I used your XML as a secondary data source. I think there may be two issues with your formula - but I don't know how your form is set up. That is, I don't know where ... Posted to Newbie Questions (Forum) by Hilary Stoupa on 01-30-2024 Re: sum preceding nodes in repeating sections I know this is an older thread but hoping for some assistance. My XML (nodes) look like this - replacing the arrow brackets with round for formatting ... Posted to Newbie Questions (Forum) by stevec on 01-30-2024 Re: Insert new line in Repeating table should copy 1 fields value from Top Row Hi Just an additional observation When i try to use ../preceding-sibling::my:SharePointListItem_RW[5]/my:Parent Risk ID - I get Error as Expected value type: end-of-string Wehn i try to use ../preceding-sibling::my:SharePointListItem_RW[5]/my:ID - I don't get above error. Both are valid columns in my ChlidList. It means it gives ... Posted to Controls (Forum) by mbhushan1605 on 11-02-2018 Re: Unique values from repeating table I've attached a sample - right click and save locally, right click, select design and preview. Add some rows to the repeating table, and set some of the fields to the same value. For your formula, I'd try: ... Posted to General (Forum) by Hilary Stoupa on 06-09-2021 More Search Options Page 1 of 7 (66 items) 1 2 3 4 5 Next > ... Last » Copyright © 2003-2019 Qdabra Software. All rights reserved.View our Terms of Use.
Use our Google Custom Search for best site search results.