Making a form that allows adding additional rows

Have you considered using the Form Repeat function (main and sub tables) for this? Works really well and is very configurable using its associated Dynamic Events (for the button to add rows etc).