Avatar

Level 1

BR001 - thanks, this one works with one instance. What i am trying to do is to assign the value of one field to other with one button but it has to work for every instance with just one click.

example:

Subform1 has 3 instances therefore Subform2 has 3 as well. (button add adds instances to both forms)

I fill in the text fields of

Subform1[0].TextField1,

Subform1[1].TextField1

Subform1[2].TextField1

and want to copy it to

Subform2[0].TextField2

Subform2[1].TextField2

Subform2[2].TextField2

I would like the script to be dynamic so it wouldn't matter how many instances i have, it will always work with just one click for all of them.

Thanks!ass_2.jpg