Solved: Populating primary keys as foriegn keys into tables.

Status
This thread has been Locked and is not open to further replies. Please start a New Thread if you're having a similar issue. View our Welcome Guide to learn how to use this site.

Jiimandjo

Thread Starter
Joined
Nov 30, 2010
Messages
10
In my data base, I have one main table related to many slave tables in one-to-many relationships. I would like the primary key in the main table to populate to the other tables, as a foriegn key, without having to type it in each time I create a record in one of the other slave tables. Any ideas?
 

OBP

Joined
Mar 8, 2005
Messages
19,895
Jiimandjo, welcome to the Forum.
Well you should be using Forms & Subforms for your data entry. When you link the Main form (based on the main table) to the Subform via the master key/foriegn key Access auto populates the foriegn key for you as soon as you enter soem data in to the subform.
 
Status
This thread has been Locked and is not open to further replies. Please start a New Thread if you're having a similar issue. View our Welcome Guide to learn how to use this site.

Users Who Are Viewing This Thread (Users: 0, Guests: 1)

As Seen On
As Seen On...

Welcome to Tech Support Guy!

Are you looking for the solution to your computer problem? Join our site today to ask your question. This site is completely free -- paid for by advertisers and donations.

If you're not already familiar with forums, watch our Welcome Guide to get started.

Join over 807,865 other people just like you!

Latest posts

Staff online

Top