cuok
Programmer
- Dec 24, 2001
- 201
Hi friends,
My project has 29+1 forms and 30 tables.
each record recognized by Id and VisitDate .
The "+1" is a form that created to include fields : 1. the ID (PK) from "Patients" table, 2. VisitDate from ClinicVisit table and an option group. I called the form "frmRashi".
each one of the 29 forms is a sort of medical test.
I created a sub form (not by the wizard) and called it "FormCategoria" somthing like a "Place holder" for 29 forms that will act as sub forms - each in its turn.
i know to do this in VBA code using the select statment and option group like this:
........
Case 6
FormCategoria.SourceObject = "Frm_Consultation"
Case 8
FormCategoria.SourceObject = "Frm_recommendation"
Case 7
.....
each form contains Id and VisitDate as duplicate index (yes) fields and the other fields from its table.
My Q. are:
do i must make 1:m relationship between patients table to each of the 29 ?
Or maybe not at all because they (29 forms) are sub forms ???
I will appreciate any help from you.
many thanks and c.u.o.k
My project has 29+1 forms and 30 tables.
each record recognized by Id and VisitDate .
The "+1" is a form that created to include fields : 1. the ID (PK) from "Patients" table, 2. VisitDate from ClinicVisit table and an option group. I called the form "frmRashi".
each one of the 29 forms is a sort of medical test.
I created a sub form (not by the wizard) and called it "FormCategoria" somthing like a "Place holder" for 29 forms that will act as sub forms - each in its turn.
i know to do this in VBA code using the select statment and option group like this:
........
Case 6
FormCategoria.SourceObject = "Frm_Consultation"
Case 8
FormCategoria.SourceObject = "Frm_recommendation"
Case 7
.....
each form contains Id and VisitDate as duplicate index (yes) fields and the other fields from its table.
My Q. are:
do i must make 1:m relationship between patients table to each of the 29 ?
Or maybe not at all because they (29 forms) are sub forms ???
I will appreciate any help from you.
many thanks and c.u.o.k