I have a main form EVENTS which has a subform SYMPTOMS. These are linked as a Parent/Child relationship with the EVENTID being the common linked field.
Within the subform I have a command button which opens a third form called VITALSIGNS. The common field between these two forms is the SYMPTOMID field. I want the SYMPTOMID to autopopulate into the VITALSIGNS form when I click the command button in the subform SYMPTOMS. The control source for all the forms are based on queries. I tried pasting the following command into the VITALSIGNS query under the SYMPTOMID column however it did not work as I hoped:
[Forms]![frm_Symptoms_Subform].[Form]![SymptomID]
Currently when I click the command button the VITALSIGNS form opens but the SYMPTOMID field is not populated and must be entered manually to achieve the link to the SYMPTOMS subform.
Is it possible for a subform that is the child to a main form to also have a parent/child relationship to a third form? What is the best way to link the third form to the subform? The VITALSIGNS form can have multiple entries all tied to one SYMPTOMID and the SYMPTOM subform may have multiple SYMPTOMIDs all tied to one EVENTID.
I have built a report that will show all the linked Event/Symptom data by specific EVENTID and a report that will show only the VitalSigns data however cannot get the autolink to the SYMPTOMID.
Thanks for any help.
Within the subform I have a command button which opens a third form called VITALSIGNS. The common field between these two forms is the SYMPTOMID field. I want the SYMPTOMID to autopopulate into the VITALSIGNS form when I click the command button in the subform SYMPTOMS. The control source for all the forms are based on queries. I tried pasting the following command into the VITALSIGNS query under the SYMPTOMID column however it did not work as I hoped:
[Forms]![frm_Symptoms_Subform].[Form]![SymptomID]
Currently when I click the command button the VITALSIGNS form opens but the SYMPTOMID field is not populated and must be entered manually to achieve the link to the SYMPTOMS subform.
Is it possible for a subform that is the child to a main form to also have a parent/child relationship to a third form? What is the best way to link the third form to the subform? The VITALSIGNS form can have multiple entries all tied to one SYMPTOMID and the SYMPTOM subform may have multiple SYMPTOMIDs all tied to one EVENTID.
I have built a report that will show all the linked Event/Symptom data by specific EVENTID and a report that will show only the VitalSigns data however cannot get the autolink to the SYMPTOMID.
Thanks for any help.