My brain is fried, if anyone can come up with some inspiration for my problem I would be most grateful.
In an access project (.adp) I have a many to many relationship between two tables using a third table to store the links.
The records in each of the two primary tables have a primary key based on an autoincrementing integer. Therefore the primary key on the third (or relationship holding) table consists of the combination of the first two primary keys.
On a form for one of the main tables I have a subform that constitutes a listing of all the attached records from the relationship table. I need to be able to add records in this table using a combo box listing all the records from the second table bound to the ID but showing the names (ie two column, bound to col 1 but with col 1 width set to zero). So far so good.
The problem arises when I need to add an 'On Not In List' event to enable me to add a new record to the second table at this point.
Any ideas as I seem to get stuck with generating a new record in the relationship table and unable to add a name to the second table record.
I don't think I've explained this very well, but any help would be most appreciated.
TIA
Twonames
In an access project (.adp) I have a many to many relationship between two tables using a third table to store the links.
The records in each of the two primary tables have a primary key based on an autoincrementing integer. Therefore the primary key on the third (or relationship holding) table consists of the combination of the first two primary keys.
On a form for one of the main tables I have a subform that constitutes a listing of all the attached records from the relationship table. I need to be able to add records in this table using a combo box listing all the records from the second table bound to the ID but showing the names (ie two column, bound to col 1 but with col 1 width set to zero). So far so good.
The problem arises when I need to add an 'On Not In List' event to enable me to add a new record to the second table at this point.
Any ideas as I seem to get stuck with generating a new record in the relationship table and unable to add a name to the second table record.
I don't think I've explained this very well, but any help would be most appreciated.
TIA
Twonames