Avatar

Level 3

I have a repeating subform with a Delete button. In the Delete button Click event I have this code:

_subform.removeInstance(this.index);

However, every time the Delete button is Clicked only instance 0 is removed. Naturally, I would desire the subform

containing the Delete button that has been clicked be the subform removed, not subform (0).

I have read the other posts about removeInstance but they don't seem to address my problem.

Please advise on what I am missing, Thank you!