RitaMoloney
Registered User.
- Local time
- Today, 10:44
- Joined
- May 6, 2004
- Messages
- 50
Saving a Primary Key to two different tables on the one form?
Hi,
On my form, I select a Job Name from a combo box (got from the Jobs table). I then fill out it's details (which are stored in a table called JobDetails.) I then select a boat name from another Combo box which is stored in BJDetails table . I also want the primary key from Jobs table to be stored in BJDetails table.
When I select Job Name I want it's primary key to be stored as a foreign key in BJDetails table and JobDetails table on the one form, is this possible?
This works ok if the primary key has only to be sorted in one table but is it possible to have it stored in two tables on the one form. I have attached a picture to show the layout of my tables.
Please help, as this is driving me mad.
Thanks,
Rita
Hi,
On my form, I select a Job Name from a combo box (got from the Jobs table). I then fill out it's details (which are stored in a table called JobDetails.) I then select a boat name from another Combo box which is stored in BJDetails table . I also want the primary key from Jobs table to be stored in BJDetails table.
When I select Job Name I want it's primary key to be stored as a foreign key in BJDetails table and JobDetails table on the one form, is this possible?
This works ok if the primary key has only to be sorted in one table but is it possible to have it stored in two tables on the one form. I have attached a picture to show the layout of my tables.
Please help, as this is driving me mad.
Thanks,
Rita