sorebrain
Registered User.
- Local time
- Today, 11:04
- Joined
- Oct 8, 2004
- Messages
- 27
On a simple 2 table DB I was trying originally to use the form wizard, select all the fields from the first table and only selected fields from the second table. Then I would select the view on the second page of the wizard to show all the fields from both tables, without separating them into a subform. Then when I would try to test the form I would get the error message:
Cannot add record(s); join key of 'tblTwo' not in recordset
I knew it was because the autonumber field I was using as a primary key in the second table was purposely left off of the form when I created it. And I knew it had to have the record created by incrementing the autonumber field. I just didn't know how to do it behind the scenes. Is this where code on an OnExit click event would solve the problem? The only way I won't be new at this is if I get old at it
Cannot add record(s); join key of 'tblTwo' not in recordset
I knew it was because the autonumber field I was using as a primary key in the second table was purposely left off of the form when I created it. And I knew it had to have the record created by incrementing the autonumber field. I just didn't know how to do it behind the scenes. Is this where code on an OnExit click event would solve the problem? The only way I won't be new at this is if I get old at it
