Problem with repeating table - InfoPath Dev
in

InfoPath Dev

Problem with repeating table

Last post 09-01-2005 06:51 AM by vt_asparagus. 1 replies.
Page 1 of 1 (2 items)
Sort Posts: Previous Next
  • 09-01-2005 01:54 AM

    Problem with repeating table


    I have an InfoPath form (Code in VB).
    The form contain a repeating table with 2 column:
    One is text box (named "test")
    and in the seconed column there is button.

    I want that click on the button will pop up Alert with the text that on the text box filed ("test") which in the same row.

    I have this code:


    /////////////////////////////////////
    Sub CTRL6_5_OnClick(eventObj)

    dim val
    val=XDocument.DOM.selectSingleNode("//my:myFields/my:group2/my:test").text
    XDocument.UI.Alert(val)

    End Sub
    ///////////////////////////////////////
    I run the form and I enterd on the first row in the "test" filed the value "aaa" and click on the button on this row, it's print to me "aaa" (that's good)
    BUT!!! when I add seconed row on table and enterd "bbb" and click on button of the seconed row It's print "aaa" and not "bbb"!!!!

    How to fix it???
  • 09-01-2005 06:51 AM In reply to

    Re: Problem with repeating table

    Jason
    http://www.k2distillery.com/
Page 1 of 1 (2 items)
Copyright © 2003-2019 Qdabra Software. All rights reserved.
View our Terms of Use.