Primary Key/Foreign Key Tables

H

HL

Hello,

I have two tables in which SNO is the primary key for Table1 and SNO is the
foreign key for Table2. In Table1, I made SNO an auto number while in Table2
SNO is just a number.

I have already established a relationship between the two tables (1:M). When
the user enters information into Table1 how can the foreign key automatically
be inserted into table2? Since SNO is an auto number in Table1, the user
doesn't have to input a number, access does it for me. However, I need that
same number to show up in Table2 because information will be entered into
Table2 at a later date (maybe not the same day that Table1 receives its
info).

How can I do this?
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top