Add Rows to a SubForm Using Deluge
I got a form called Invoices with customer data and a subform that contains the fields: product, qty, price, subtotal.
I also got a lookup field on the form used to lookup a quote number, so when I choose the quote number, the Invoice form is filled with the customer data and the subform is filled with the products data (product,qty,price,subtotal) present on that quote.
I had read (post of 3 years ago here) that is not possible to fill data to a subform because only the first row is filled (in fact this happen to me the first time that I try, but now I have solved this and I'm able to fill the entire subform with data), so that post is not longer valid.
I also read (post of 2-3 years ago here) that is not possible to dinamically add rows to a subform using deluge, but I'm not sure if this problem still remain and the Subform.addrow() is still a dream.
At the moment the only workaround that I figure out, is preset the number of rows and then fill until that number, instead of start with only 1 row and then add the exact amount of rows needed.