Relationship Question

G

Guest

I have a two tables that I am trying to relate. One table is a population
table and one table is a sample table. The sample table needs a data field
from the population table. I have selected three fields (name, patient
number, and birthdate) to relate and I select the option to include all
sample records that match. When I try to run the query to include the "paid
date", the column is there, but the field is blank. How can I get the dates
to appear in the column.
 
J

John Vinson

I have a two tables that I am trying to relate. One table is a population
table and one table is a sample table. The sample table needs a data field
from the population table. I have selected three fields (name, patient
number, and birthdate) to relate and I select the option to include all
sample records that match. When I try to run the query to include the "paid
date", the column is there, but the field is blank. How can I get the dates
to appear in the column.

What date do you want to appear? Your table descriptions do not
mentions a "paid date". What fields actually exist in the two tables?
If you have *data* - patient name, birthdate, etc. - in both tables,
you're off the track: you should NOT store data redundantly. Store the
patient name once, and once only, and then use a query joining the two
tables by the unique PatientID.

John W. Vinson[MVP]
 

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