Hi all,
Hope you can give me a hand. I think I am going crazy.
I have a repeating table with 3 fields: A, B and C. What I want is when I write a value on field C, the text of the field B (previosly filled) is shown and saved on a variable.
With the first row is ok, but when I add a new row, the value shown is the one in the field B but from the first row, not for the current one.
I have the next code:
Dim nav As XPathNavigator = MainDataSource.CreateNavigator()
Dim cliente_representacion As String
cliente_representacion = nav.SelectSingleNode("/dfs:myFields/dfs:dataFields/d:General/d:Gastos_Representacion/@Cliente_Representacion", NamespaceManager).Value
MessageBox.Show(cliente_representacion, "El cliente de representacion es: ", MessageBoxButtons.YesNo)
I thought infopath was considering the rows you were on that moment, but it seems not.
How can I do that?.
Thanks and best regards,