B
Bayou BoB
I have a table of patients, whereby you can record up to 3 doctors
working on that patient's care, as well as some diagnosis information,
etc. My problem so far has been this. When I go to query the data from
the table, I can get only the first of the 3 doctors to actually show
up in the query by name....the remaining two actually are still shown
as numbers. I'll illustrate below.
tblPatient
Name
DOB
Doctor1
Doctor2
Doctor3
DiagnosisPri
DiagnosisSec
DiagnosisOth
The Doctor's name is being selected from the list of doctors being
housed in another table.
tblDoc
DrName
When it goes into the table from the form, it goes in much as it's
supposed to. The table is all a series of numbers for storing data
more wisely.
Now when I go to make a query to just list the patient and his
doctors, I get results that look something like this.
Patient James Wilson, Doctor1 ODonnell Doctor2 23 Doctor3 18
If I add the DrName 3 times to the query, it still only picks up the
first Doctor1 field, and repeat's that Doctor's name 3 times through
the query, regardless of what number appears with Doctor2 and Doctor
3. How Can I make a query that will actually show something like this
below..
Patient James Wilson, Doctor1 ODonnell, Doctor2 Wheeler, Doctor3
Jamieson...?
This is stumping me what I'm doing wrong!!
working on that patient's care, as well as some diagnosis information,
etc. My problem so far has been this. When I go to query the data from
the table, I can get only the first of the 3 doctors to actually show
up in the query by name....the remaining two actually are still shown
as numbers. I'll illustrate below.
tblPatient
Name
DOB
Doctor1
Doctor2
Doctor3
DiagnosisPri
DiagnosisSec
DiagnosisOth
The Doctor's name is being selected from the list of doctors being
housed in another table.
tblDoc
DrName
When it goes into the table from the form, it goes in much as it's
supposed to. The table is all a series of numbers for storing data
more wisely.
Now when I go to make a query to just list the patient and his
doctors, I get results that look something like this.
Patient James Wilson, Doctor1 ODonnell Doctor2 23 Doctor3 18
If I add the DrName 3 times to the query, it still only picks up the
first Doctor1 field, and repeat's that Doctor's name 3 times through
the query, regardless of what number appears with Doctor2 and Doctor
3. How Can I make a query that will actually show something like this
below..
Patient James Wilson, Doctor1 ODonnell, Doctor2 Wheeler, Doctor3
Jamieson...?
This is stumping me what I'm doing wrong!!