G
Guest
Hello,
I have 2 tables that are linked in a 1-to-many relationship. So for every
record in the parent table, there could be several records in the child table.
What I would like to do is enter one record for the child table on the
parent table's input form, and then let the user decide if he wants to add
any more records via a "make another entry" button.
On the main form, I would like to number such entries 1 -> n for every
record in the parent table
I guess I could just put a number of subforms on the main form and label
them 1 - 5 and make them visible if the button is pressed.
But I'm wondering if this can be done programmatically so that when I press
that button, a new subform will be inserted into the main form and numbered
(n+1).
This might be overly ambitious for me, but I'd like to get a feel for the
feasibility of this idea, and how much work it would require to implement it.
Thank you.
I have 2 tables that are linked in a 1-to-many relationship. So for every
record in the parent table, there could be several records in the child table.
What I would like to do is enter one record for the child table on the
parent table's input form, and then let the user decide if he wants to add
any more records via a "make another entry" button.
On the main form, I would like to number such entries 1 -> n for every
record in the parent table
I guess I could just put a number of subforms on the main form and label
them 1 - 5 and make them visible if the button is pressed.
But I'm wondering if this can be done programmatically so that when I press
that button, a new subform will be inserted into the main form and numbered
(n+1).
This might be overly ambitious for me, but I'd like to get a feel for the
feasibility of this idea, and how much work it would require to implement it.
Thank you.