1-1 relationship and data entry

D

Denise

How can I ensure that data is entered in the 2nd table (non-public) in a 1-1
relationship? Because the join is 1-1, it is presenting a problem when data
is not entered in 2nd table. In this situation, Access will show all records
in table 1 (public data) . When I query tables 1 & 2 together, the records
that do not have data in table 2 are not in the results.

I need a way to automatically enter a data element in table 2 working around
the human error problem.
Thanks.
 
P

Piet Linden

How can I ensure that data is entered in the 2nd table (non-public) in a 1-1
relationship?  Because the join is 1-1, it is presenting a problem whendata
is not entered in 2nd table.  In this situation, Access will show all records
in table 1 (public data) .  When I query tables 1 & 2 together, the records
that do not have data in table 2 are not in the results.

I need a way to automatically enter a data element in table 2 working around
the human error problem.
Thanks.

use a single table and views to control who sees what? (and base your
data entry form on the table)
 
D

Denise

Piet Linden said:
use a single table and views to control who sees what? (and base your
data entry form on the table)
I can't keep in same table because the table with public data will
ultimately be linked to for other databases. The non-public data must not be
comprised. Thank you for your suggestion, however.
 
T

tina

I need a way to automatically enter a data element in table 2

no, you don't - and you don't *want* to enter a record in table 2 until you
actually need to enter valid data in that table. instead, in your query, use
a Left Join, as MVP John Vinson explained in your other thread in this
newsgroup - that will allow you to see all the records in table 1, whether
or not there are related records in table 2.

hth
 

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