J
Jac Tremblay
Hi,
I need advice on the design I should use for my form. The base data are a
Members table and a Years table linked through a many-to-many relationship
(an intermediate table with the idMember and the IdYear as primary key).
In my form, I would like to see, for each member, all the years he had been
a member for. I front of every year present in the Years table (and on the
members form, in descending order), I would like to have a check box that I
could check or uncheck as needed to insert or delete records in the
intermediate table (for a given member and a given year).
I have already developped a form in which I display only the last two years
and it works fine. The problem is that I have duplicated code and procedures
with minor differences and I find that way of doing sort of macramé (not very
elegant).
I tried to insert a subform with the years in it and a check box inside or
outside the subform and it does not work well because one has to select the
year before checking the corresponding box which is prone to error.
Anyone has any idea?
Thanks.
I need advice on the design I should use for my form. The base data are a
Members table and a Years table linked through a many-to-many relationship
(an intermediate table with the idMember and the IdYear as primary key).
In my form, I would like to see, for each member, all the years he had been
a member for. I front of every year present in the Years table (and on the
members form, in descending order), I would like to have a check box that I
could check or uncheck as needed to insert or delete records in the
intermediate table (for a given member and a given year).
I have already developped a form in which I display only the last two years
and it works fine. The problem is that I have duplicated code and procedures
with minor differences and I find that way of doing sort of macramé (not very
elegant).
I tried to insert a subform with the years in it and a check box inside or
outside the subform and it does not work well because one has to select the
year before checking the corresponding box which is prone to error.
Anyone has any idea?
Thanks.