I have two tables - Table A has client details and Table B has product details.
I have made table C that combines the primary keys from Table A Client# and Table B Product code and have a relationship between them all.
I have a single form "Form 1" that has the products on with a subform that has Client details on.
I have over 8000 clients so I cant use a combo box to select the client# so i have a search form made with a button on each record in a continuous form.
I need some code so that when i press the button on the record that i want it will insert the primary key "Client #" into the subform of the products form "form 1" and thus insert the client # "primary key" into Table C.
I then want to auto populate the rest of the client details in the subform on Form 1
Any direct would be appreciated