Hi all,
I have a repeating section with a textbox.
The repeating section has rows added programmatically.
When the code is triggered to programmatically add rows it triggers the Changed handler for one of the fields in the Repeating Section...
No big deal, I'll preface the code with (pseudo code) "If the field's length is greater than 1, do all this, otherwise do nothing."
Problem is that when I set the field's value to a variable to then use in the If statement, when the code executes I get "Object reference not set to an instance of an object."
So now assume Repeating Section 1 has 4 rows, all rows have Field1 on it.
If I edit row 1's Field1 everything executes OK.
If I then go to row 2 and add text to Field1, it cycles through Row 1-Field 1 and then goes to Row 2-Field 1 and removes the change I made.
What am I missing? Is there a VB equivalent to "curent()" field?