aqif
08-20-2001, 07:04 PM
Hi http://www.access-programmers.co.uk/ubb/smile.gif
I've got a table in which I have following fields plus many others:
DIAGNOSIS
---------
PatientID
PrimaryHosp
SecondaryHosp
I have a Hospital Table also
HOSPITAL
--------
HospID
HospName
In access I have linked HospID with PrimaryHosp although I also wanted to link it with SecondaryHosp but Access only allows one relationship.
Now is it possible that I could get a query like:
PatientID PrimaryHosp HospName SecondaryHosp HospName
------------------------------------------------------------------
1 2 Hospital 2 1 Hospital 1
1 3 Hospital 3 2 Hospital 2
Thanxx in advance
Cheers!
Aqif
I've got a table in which I have following fields plus many others:
DIAGNOSIS
---------
PatientID
PrimaryHosp
SecondaryHosp
I have a Hospital Table also
HOSPITAL
--------
HospID
HospName
In access I have linked HospID with PrimaryHosp although I also wanted to link it with SecondaryHosp but Access only allows one relationship.
Now is it possible that I could get a query like:
PatientID PrimaryHosp HospName SecondaryHosp HospName
------------------------------------------------------------------
1 2 Hospital 2 1 Hospital 1
1 3 Hospital 3 2 Hospital 2
Thanxx in advance
Cheers!
Aqif