I hav the same problem. I have used the rules but it does not change
anything. The repeating text box are always fill in function of the first
listbox value.
Also I test your code but how do you get the result value of a formula?
I mean if the text box must display a fields in function of the choosed
value in the drop down list?
Thanks
If you want to update a value of a different field on the same row, in code you would select "../my:fieldX" (note the ".."--that tells the selection to go to the up to row node, and then select the fieldX child.
Using rules, you just use the field picker and it should automatically select the other field on the same row.

Signature
Greg Collins [InfoPath MVP]
Please visit: http://www.InfoPathDev.com
I hav the same problem. I have used the rules but it does not change
anything. The repeating text box are always fill in function of the first
listbox value.
Also I test your code but how do you get the result value of a formula?
I mean if the text box must display a fields in function of the choosed
value in the drop down list?
Thanks
"Franck Dauch" wrote:
> Hi Mike,
>
[quoted text clipped - 18 lines]
> > the list, I want to update a textbox in the same row with the value of the
> > selection in the list box. How do I do this?