M
Moe.Vafaei
Hi,
Very appreciate your help on the issue I've in InfoPath 2007:
I've a repeating table and in each row I've a date picker, a button, and 3
more text boxes. I'm using code for button click event and call a web service
to populate text boxes based on the date selected. This works fine only for
the first row. It does not work for the button event on the lets say second
row.
It seems that when a new row is created in a repeating table, the button ID
is somthing different from the first one and the code does not recognize it.
How can I fix this in order the click event happen to all buttons in the
repeating table.
Public Sub CTRL140_5_Clicked(ByVal sender As Object, ByVal e As
ClickedEventArgs)
'My code to call the web service and parse data is here.
End Sub
Very appreciate your help on the issue I've in InfoPath 2007:
I've a repeating table and in each row I've a date picker, a button, and 3
more text boxes. I'm using code for button click event and call a web service
to populate text boxes based on the date selected. This works fine only for
the first row. It does not work for the button event on the lets say second
row.
It seems that when a new row is created in a repeating table, the button ID
is somthing different from the first one and the code does not recognize it.
How can I fix this in order the click event happen to all buttons in the
repeating table.
Public Sub CTRL140_5_Clicked(ByVal sender As Object, ByVal e As
ClickedEventArgs)
'My code to call the web service and parse data is here.
End Sub