If what you have for problems lends itself, you need another table,
TblProblemType.
For data entry you need a main form based on TblPatient or a query based on
TblPatient with a way to select the patient record. The subform would be based
on TblPatientProblem. The linkmaster/linkchild properties would be PatientID. In
the subform you would have synchronized comboboxes for first selecting the
problem type and then selecting the problem.
--
PC Datasheet
Your Resource For Help With Access, Excel And Word Applications
Join Bytes!
www.pcdatasheet.com
"Adriaan van Heerden" <adriaan@postmaster.co.uk> wrote in message
news:890aefb8.0408020616.5e52dda6@posting.google.c om...[color=blue]
> hi,
>
> once again apologies if I'm covering old ground. I've looked through
> lots of previous posts and tried some code but nothing works as yet.
> However, the problem must be a very common one so I'm slightly
> surprised there isn't more on this (unless I'm missing something -- if
> so please just point me in the right direction), and the textbooks are
> also strangely silent.
>
> I need to do the following:
> * be able to associate any combination of a set of problems with a
> list of patients (hence many-to-many relationship with junction table)
> -- the list of problems is added to regularly so using checkboxes is
> out of the question
> * the solution that appeals to me is the ability to transfer possible
> problems between listboxes with >, <, >> & << buttons and then write
> the selected problems to the junction table.
>
> So far I've got three tables: Patients, Problems and PatientProblems,
> but I need a lot of help implementing the second part of the solution.
> Also, if anyone knows of a more elegant way of handling this kind of
> situation I'd really like to hear it.
>
> many thanks
> Adriaan[/color]