M
MStadnik
I have a very complex database - I'll admit from the get go that I'm probably
in over my head.
Having said that... hiring a programmer is not really an option for our
small non-profit firm... so I put on my "database designer" hat, took a quick
and dirty Access class, and jumped right in. Gotta love working for a
nonprofit ;o)
The project:
A database that tracks information for our adult day clients. This
information includes basic participant info (primary table) - name, social,
address, phone, etc., then additional tables related to each participant
entitled - family-caregiver, funding, medical, plan of care, progress notes &
incident reports. In total there are 7 tables. The primary key in the
participant table is "participantID" which is an auto number field. This
field is then the foreign key to all the other tables. Each of these tables
has many fields and in some cases there can be multiple entries in one
category - such as up to four family members for each participant by type
(primary, paid, familymember1, familymember2, familymember3)
It occurred to me as I was designing the Forms that the data entry person
having to remember each participants auto generated "ID" to enter into the
other tables (to ensure that each participant is linked properly to the info
in the other tables) would be a real pain. So my first challenge is that I
want to bring in the participant's actual name instead - from a dropdown (I
guess) but I'm open on how best to accomplish this. I started to add this by
incorporating a lookup list based on the participant table and choosing the
fields - firstname, MI and LastName. This "works" sort of but you end up only
see the firstname of the participant in the field instead of a combination of
the 3 fields. That's when I showed up here and started reading about the
problems with combo boxes and am now totally confused as to how to accomplish
this.
My other challenge is that I want to create a form whereby the user can
easily enter the information for all the appropriate tables - my instructor
suggested the use of a "tab form". I created one starting with the
participant form and putting each of the other table's forms as subforms on
each tab. Worked sort of - but for some reason now my participant form (the
main tab) now shows no existing data - only an autonumber for entering a new
record and all the subforms seem to have all the data... that's a problem and
I'm not sure how this happened. But it also occurs to me that this may not be
the best way to accomplish what I'm trying to do - which is for the user to
only see the data for each participant - one at a time... right now you can
scroll through all the records on the subform and unless you know what you're
looking at it would be impossible to tell which family-caregiver records
relate to which participant.
So in summary - the two questions are:
1) How do I link the participant to his other tables in a more meaningful
way other than "participantID" which is a number?
and
2)What is the best way to design a form that would display the information
for each participant one at a time, rather than all the records for each form
which is what I seem to have now... if such a thing is possible?
Thanks for any help in pointing me in the right direction... the good news
is that I think the tables themselves are pretty well designed... I just need
a little help in organizing this so that it is user friendly and makes sense
![Smile :) :)](/styles/default/custom/smilies/smile.gif)
in over my head.
Having said that... hiring a programmer is not really an option for our
small non-profit firm... so I put on my "database designer" hat, took a quick
and dirty Access class, and jumped right in. Gotta love working for a
nonprofit ;o)
The project:
A database that tracks information for our adult day clients. This
information includes basic participant info (primary table) - name, social,
address, phone, etc., then additional tables related to each participant
entitled - family-caregiver, funding, medical, plan of care, progress notes &
incident reports. In total there are 7 tables. The primary key in the
participant table is "participantID" which is an auto number field. This
field is then the foreign key to all the other tables. Each of these tables
has many fields and in some cases there can be multiple entries in one
category - such as up to four family members for each participant by type
(primary, paid, familymember1, familymember2, familymember3)
It occurred to me as I was designing the Forms that the data entry person
having to remember each participants auto generated "ID" to enter into the
other tables (to ensure that each participant is linked properly to the info
in the other tables) would be a real pain. So my first challenge is that I
want to bring in the participant's actual name instead - from a dropdown (I
guess) but I'm open on how best to accomplish this. I started to add this by
incorporating a lookup list based on the participant table and choosing the
fields - firstname, MI and LastName. This "works" sort of but you end up only
see the firstname of the participant in the field instead of a combination of
the 3 fields. That's when I showed up here and started reading about the
problems with combo boxes and am now totally confused as to how to accomplish
this.
My other challenge is that I want to create a form whereby the user can
easily enter the information for all the appropriate tables - my instructor
suggested the use of a "tab form". I created one starting with the
participant form and putting each of the other table's forms as subforms on
each tab. Worked sort of - but for some reason now my participant form (the
main tab) now shows no existing data - only an autonumber for entering a new
record and all the subforms seem to have all the data... that's a problem and
I'm not sure how this happened. But it also occurs to me that this may not be
the best way to accomplish what I'm trying to do - which is for the user to
only see the data for each participant - one at a time... right now you can
scroll through all the records on the subform and unless you know what you're
looking at it would be impossible to tell which family-caregiver records
relate to which participant.
So in summary - the two questions are:
1) How do I link the participant to his other tables in a more meaningful
way other than "participantID" which is a number?
and
2)What is the best way to design a form that would display the information
for each participant one at a time, rather than all the records for each form
which is what I seem to have now... if such a thing is possible?
Thanks for any help in pointing me in the right direction... the good news
is that I think the tables themselves are pretty well designed... I just need
a little help in organizing this so that it is user friendly and makes sense
![Smile :) :)](/styles/default/custom/smilies/smile.gif)