I have the same "ID" field in my 1st form and my 2nd form. When I click on a cmd button to go to the 2nd Form, the "ID" field on the 2nd form needs to automatically populate itself with the same "ID" that was in the 1st form.
Example: "ModelID" in the "Models" table (the 1st table) equals "10" so when I click on the cmd button, the "ModelID" field in the "ModelDetails" table (the 2nd table) should then be populated with "10").
I have tried changing the control source and row source of the 2nd form to equal the 1st form, but there is no data (no "10") in the "ModelID" field of the 2nd table to match up - I need the database to input that value for me.
Example: "ModelID" in the "Models" table (the 1st table) equals "10" so when I click on the cmd button, the "ModelID" field in the "ModelDetails" table (the 2nd table) should then be populated with "10").
I have tried changing the control source and row source of the 2nd form to equal the 1st form, but there is no data (no "10") in the "ModelID" field of the 2nd table to match up - I need the database to input that value for me.