I have followed posts and figured out how to use buttons to add and remove subforms but I would like the subforms to add where the button is not to the end of the list. Remove works this way but I haven't gotten add to work. Any help would be greatly appreciated.
Solved! Go to Solution.
Views
Replies
Total Likes
You will need to do it in two steps .....do the add (it will put it at the bottom) then do a moveInstance.
Paul
Views
Replies
Total Likes
You will need to do it in two steps .....do the add (it will put it at the bottom) then do a moveInstance.
Paul
Views
Replies
Total Likes
Oh my...I don't know how to do that either.
Um....
form1.requirements.Subform1.instanceManager.moveInstance(this.parent.index - 1);
?
Views
Replies
Total Likes
Its a from/ to model......moveInstance (from an Index, to an Index) Remember that the indexes are 0 based but the count is 1 based. I updated you code for you in this modified sample.
Paul
That works! Thank you very much!
Views
Replies
Total Likes
Views
Likes
Replies
Views
Likes
Replies
Views
Likes
Replies