aqif
Registered User.
- Local time
- Today, 11:56
- Joined
- Jul 9, 2001
- Messages
- 158
Hi
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