Avatar

Level 2

Thanks, again, Srini!

You've helped me with half of my problem.  I wish to create a "dynamic" list which will allow me to add an instance and populate it at the same time.  You've helped me tremendously with this.  Now, I wish to find a way to also remove an instance that was added, but not necessarily in the order that it was added. 

For example, when adding instances by clicking a button (outside the repeating subform), I create three instances with the following text fields in the order as follows:

aaaaaa

bbbbbb

cccccc

Now, I wish to click a button (again, outside the repeating subform) that will allow me to remove instances in the following order:

bbbbbb

cccccc

aaaaaa

Unfortunately, everything I've tried until now has only removed the first instance (aaaaaa) or the last instance (cccccc) and usually not in the order I wish them to be removed. 

Is there some way to remove specific instances based on the value of the text within the instance rather than on an index value?  I think this may be the way to go.

Again, thanks for any help out there.  This forum is simply fantastic!