Retrieve value of combobox field in a repeating section - InfoPath Dev
in

InfoPath Dev

Retrieve value of combobox field in a repeating section

Last post 09-29-2008 08:42 AM by taz1919. 2 replies.
Page 1 of 1 (3 items)
Sort Posts: Previous Next
  • 09-29-2008 02:05 AM

    Retrieve value of combobox field in a repeating section

     Hi,

     I have a repeating section with a combo box field that i need to get the current value of. I can get the value for the combobox in the first section, but additional sections only return the value from the first section.

    i am using VB, and do not have any buttons in the section to use the 'source' property to point me to the current section.

    i have used selectsinglenode to reference the xpath of the combobox, and used select(xpath) with an xpath node iterator but can't seem to get the value of the 2nd section onwards.

    my code fires on the after change event of the combobox field. i have tried using movenext() after an IF test for e.operation = xmloperation.insert .

    Any help appreciated!

     

    Thanks

     Craig.

     

  • 09-29-2008 07:36 AM In reply to

    Re: Retrieve value of combobox field in a repeating section

    Hi, and welcome!

    You can use e.NewValue to get the new value of the combo box in the onAfterChange (or, for IP2007, Changed) event.

    Hilary Stoupa

  • 09-29-2008 08:42 AM In reply to

    Re: Retrieve value of combobox field in a repeating section

     Thanks, i thought there would be an easy way, just couldnt find it!!

     

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