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 (9 items) Re: Adding values from different rows Hello, Regarding to the A)2. problem: I tried to use the number() and val() functions, but just errors. Thanks, Nagy Ferenc Posted to Newbie Questions (Forum) by elektrocad on 04-10-2007 Re: Adding values from different rows I resolved this in the source below. Just the 3 column headers are not: VALUE1 | VALUE2 | SUM, they are: FELUL | NRDOC | BUCIN '------------------------------------- Sub CTRL43_5_OnClick(eventObj) ' Write your code here nodeCount = 0 set nodeList = XDocument.DOM.getElementsByTagName(''my:felul'') for each node in nodeList nodeCount = ... Posted to Newbie Questions (Forum) by elektrocad on 04-10-2007 Re: Adding values from different rows Thanks. I'm using VB. If you could translate in VB script it would be greate. Firts time I was thinking to resolve this problem with a simple formula inserting in the Value. Ex.: in the SUM column I inserted a Value: VALUE1[position() + 1] + VALUE2[position() + 1] or VALUE1[current() + 1] + VALUE2[current() + 1] But it's not ... Posted to Newbie Questions (Forum) by elektrocad on 04-05-2007 Re: Adding values from different rows Hello, OK. The spaces were cuted from the table. Here is my example with column separators (|): 1row: VALUE1 | VALUE2 | SUM (<- the header of the table) 2row: 0 | 0 | 5 (from the 3row: 2+3) 3row: 2 | 3 | 6 (from the 4row: 5+1) 4row: 5 | 1 | 0 .... Thanks, Nagy Ferenc Posted to Newbie Questions (Forum) by elektrocad on 04-04-2007 Adding values from different rows Hello, I want to made a function in a Repeating Table which will ADD a value from the next row's VALUE1 value with next row's VALUE2 value. And the function to be a value in the line ''before'' the next row. How can be possibile to do this? Ex.: 1row: VALUE1 VALUE2 SUM 2row: 5 (2+3) 3row: 2 3 6 (5+1) 4row: 5 ... Posted to Newbie Questions (Forum) by elektrocad on 04-04-2007 Re: Autocomplete values from MDB Thanks for the quick reply. The '';'' symbol is no problem because I used this first time in my first XSN file and there it's working. It's strange that I reproduce almost the same thing and here doesn't working. In my first XSN is used in a Repeating Table and here, in my new file, in Repeating Section. Writing the formula in the Value of ... Posted to Newbie Questions (Forum) by elektrocad on 03-08-2007 Autocomplete values from MDB Hello, 2 colums from my table are the Code (fcod) and the Description (fdesc). I made a Data connection to an MDB file. I want to autocomplet the Description value if I insert a part of the Code. I insert a rule to the fcode: fdesc = @desc[contains(@cod; current()/../fcod)] but I always get the first component from the MDB file. Please help ... Posted to Newbie Questions (Forum) by elektrocad on 03-08-2007 Re: Verifying node Hello, Thanks for your fast reply, but it's not working. I'm programming in Microsoft Visual Basic 2005 Express Edition and I'm working with XML files (create, modify, open, read ....). In the first line Dim Node As System.Xml.XmlNode = m_xmld.DocumentElement.SelectSingleNode(''my:fTotalcuTVA'') I've got the next message from the ... Posted to Newbie Questions (Forum) by elektrocad on 02-12-2007 Verifying node Hello, I want to verify with a VB code if a node in an XML file exist or not. My code is: Dim nod As System.Xml.XmlNamespaceManager = New System.Xml.XmlNamespaceManager(m_xmld.NameTable) Dim Node As System.Xml.XmlNode = m_xmld.DocumentElement.SelectSingleNode(''fTotal'', nod) If Not m_xmld.SelectSingleNode(''fTotal'', ... Posted to Newbie Questions (Forum) by elektrocad on 02-12-2007 Page 1 of 1 (9 items) Copyright © 2003-2019 Qdabra Software. All rights reserved.View our Terms of Use.