R
Rabastan
I am attempting to build a database for patients. So far I have it set up
like this;
tblPatients
patientsID
patientsFIRSTNAME
patientsLASTNAME
patientsPHONE
ect... all the normal info (Its a long list LOL)
Anyway what I need to be able to do is set up a Medication list for them. I
would like the database users to be able to select a drug from a drop down
list have it somehow add that drug to the data base and create another field
for the next drug. As some people take two medications and some take fifteen.
Is there a way to do this without setting up a table that looks like this;
tblPatients
patientsID
patientsFIRSTNAME
patientsLASTNAME
patientsPHONE
patientsMEDICATION1
patientsMEDICATION2
patientsMEDICATION3
patientsMEDICATION4
patientsMEDICATION5
ect........
I see two problems with this, if a patient only takes one med I have a bunch
of blank fields, and what if at some point a patient takes more meds than I
alloted for when I build the database.
What is the best way to address this.
Rab
like this;
tblPatients
patientsID
patientsFIRSTNAME
patientsLASTNAME
patientsPHONE
ect... all the normal info (Its a long list LOL)
Anyway what I need to be able to do is set up a Medication list for them. I
would like the database users to be able to select a drug from a drop down
list have it somehow add that drug to the data base and create another field
for the next drug. As some people take two medications and some take fifteen.
Is there a way to do this without setting up a table that looks like this;
tblPatients
patientsID
patientsFIRSTNAME
patientsLASTNAME
patientsPHONE
patientsMEDICATION1
patientsMEDICATION2
patientsMEDICATION3
patientsMEDICATION4
patientsMEDICATION5
ect........
I see two problems with this, if a patient only takes one med I have a bunch
of blank fields, and what if at some point a patient takes more meds than I
alloted for when I build the database.
What is the best way to address this.
Rab