finding which line of repeating table triggered a changed event (infopath 2010 VB) - InfoPath Dev
in

InfoPath Dev

finding which line of repeating table triggered a changed event (infopath 2010 VB)

Last post 02-12-2012 04:17 AM by Skarn. 1 replies.
Page 1 of 1 (2 items)
Sort Posts: Previous Next
  • 02-08-2012 04:11 AM

    • paolo
    • Not Ranked
    • Joined on 11-25-2011
    • Posts 20

    finding which line of repeating table triggered a changed event (infopath 2010 VB)

     Hi,

    I was wondering how to find out which line of a repeating table triggered a changed event

    (in VB for infopath 2010). 

    I looked into the XmlEventArgs object returned, and it seems that the .site

    method returns an XPathNavigator object with the node that triggered it

    however I couldn't figure out how to get the information on which particular

    line was changed...

    Any suggestions would be appreciated.

    Thanks,

    Paolo

     

  • 02-12-2012 04:17 AM In reply to

    • Skarn
    • Top 50 Contributor
      Male
    • Joined on 04-20-2008
    • Australia
    • Posts 198

    Re: finding which line of repeating table triggered a changed event (infopath 2010 VB)

     You could Select() the preceding-sibling of the Site XPathNavigator and get a count. Then add one and that's the position of the Site node.

    I've probably overlooked some simpler way, but it's what comes to mind.

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