missing records in form

M

morel-lover

I am designing a database for personal use. I have 4 tables: tbl-primary with
ID as primary key; tbl-spouse with ID as primary key; tbl-children with ID
and First Name as primary key; tbl-relationship with relationship as primary
key.

Relationships: 1to1 tbl-primary to tbl-spouse; 1to many tbl-primary to
tbl-children

In the form that I created for data entry it will not show records from the
primary table that do not have a related record in the spouse ID field.

There are no filters or queries involved. If I enter a number in the spouse
table for ID, the record will show. I hate to have a bunch of records that
only have and ID number in the spouse table for those in the primary table
who do not have a spouse.

Can anyone help???
Thanks!!!
 
J

John W. Vinson

I am designing a database for personal use. I have 4 tables: tbl-primary with
ID as primary key; tbl-spouse with ID as primary key; tbl-children with ID
and First Name as primary key; tbl-relationship with relationship as primary
key.

Relationships: 1to1 tbl-primary to tbl-spouse; 1to many tbl-primary to
tbl-children

In the form that I created for data entry it will not show records from the
primary table that do not have a related record in the spouse ID field.

There are no filters or queries involved. If I enter a number in the spouse
table for ID, the record will show. I hate to have a bunch of records that
only have and ID number in the spouse table for those in the primary table
who do not have a spouse.

Can anyone help???
Thanks!!!

A better design would have ONE *People* table. Husbands, wives and children
are all instances of people!

With your current design, though, you should consider using a Form for the
primary person, with a Subform for the spouse table, using the ID as the
master/child link field; and a separate Subform for the children, same link.

How you'll handle 21st century blended familiies where the parents have both
been divorced once or twice and have children from two or three partners I
don't know...
 

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