Form and Subform for single ID

F

forest8

Hi

I am in the process of creating a Case Management database.

Every week, a coach meets with the students for Case Management purposes.

When the youth becomes involved in Case Management, they complete surveys at
6 months intervals.

I also have several tables (forms) which are based on survey questions which
must be completed at six months intervals. The main youth form is in the
Participant table (there is YouthID is the PK). I have created a One-to-Many
relationship between this table and the survey tables but there is no
referential integrity since I have more youths in the Participants table than
Survey tables. (At the moment, no additional surveys have been inputted for
any of the participants).

The questions on the survey are the same. For instance, one of the questions
is: Please describe your relationship with your mother, father, brother(s),
sister(s), etc.

I want to create a form which provides the responses for each youth for six
month interval that may be updated at any time.

That is, this form would have the youth's responses from all completed
surveys so that the coach can see how the youth responded previous to the
questions and whether it's changed during the non-survey time periods. (I
hope that makes sense).

So the Parent Form has the weekly updates and the subforms have the survey
responses.

How would I create this so that only the information for the youth in
question is in the subform? The subforms aren't "talking" to the main form.

Thank you in advance.
(Sorry for the convoluted question).


Every wee
 
A

Allen Browne

The answer to your question is that you will you need to use the Link Master
Fields and Link Child Fields properties of the subform control so the
subform records are only those for the YouthID in the main form.

Before you can design this form, you will need a good table design to handle
all the one-to-many relationships in this data, *with* referential
integrity. Note that enforced RI does not mean every student must have a
survey; it means that you can have a survey for a YouthID that's not a valid
person, i.e. if there's no 987 in the Participant table, then you can't have
a survey for person 987.)

For a (free) sample database on how to do surveys, see this one from Duane
Hookom:
http://www.rogersaccesslibrary.com/forum/forum_posts.asp?TID=3
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top