H
Harley Feldman
I have a main form called "Studies" with two subforms "PatientStudies" and "PatientPhases" PatientStudies is linked in Master/Child relationship by StudyID and works fine. PatientPhases could be a subform of PatientStudies linked by PatientKey. However, when I put PatientPhases as a subform of PatientStudies, I cannot add new records to the PatientPhases table upon which the PatientPhases Subform is based - the new record indicator is grayed out.
I have also tried to place both subforms on the Studies form and link them through the PatientKey text box on the PatientStudies form. I set up a query to find the data items from PatientPhases with a criteria of Forms!Studies![PatientPhases Subform]![PatientKey]. I think that all I need now is to force a Requery of the PatientPhases form under the Current or AfterUpdate event on the PatientStudies form.
Do anyone know either what I am doing wrong in the first approach or can tell me how to force a requery for the PatientPhases subform from the PatientStudies form?
Thanks,
Harley
I have also tried to place both subforms on the Studies form and link them through the PatientKey text box on the PatientStudies form. I set up a query to find the data items from PatientPhases with a criteria of Forms!Studies![PatientPhases Subform]![PatientKey]. I think that all I need now is to force a Requery of the PatientPhases form under the Current or AfterUpdate event on the PatientStudies form.
Do anyone know either what I am doing wrong in the first approach or can tell me how to force a requery for the PatientPhases subform from the PatientStudies form?
Thanks,
Harley