G
Guest
Hi,
Im having some trouble & wondering if anybody out there has any suggestions
on how to do this.....
I have a drop-down box in my web application that is populated with Hospital
Names from my Access 2000 database, I want to have another drop down that
displays the Departments in each hospital depending on the Hospital chosen in
the first drop down box...
Ive made two tables in my Access Database
Table1 is called Hospitals and contains fields Hospital and HospitalCode
Table2 is called HospitalDepartments and contains fields called HospitalCode
and Department.
I cant make HospitalCode a Primary Key in the HospitalDepartments table
because HospitalCode is repeated thus there are duplicates and it won't let
me call it the Primary Key.....
So does anybody have any suggestions.... all greatly appreciated!! : )
Im having some trouble & wondering if anybody out there has any suggestions
on how to do this.....
I have a drop-down box in my web application that is populated with Hospital
Names from my Access 2000 database, I want to have another drop down that
displays the Departments in each hospital depending on the Hospital chosen in
the first drop down box...
Ive made two tables in my Access Database
Table1 is called Hospitals and contains fields Hospital and HospitalCode
Table2 is called HospitalDepartments and contains fields called HospitalCode
and Department.
I cant make HospitalCode a Primary Key in the HospitalDepartments table
because HospitalCode is repeated thus there are duplicates and it won't let
me call it the Primary Key.....
So does anybody have any suggestions.... all greatly appreciated!! : )