Hi everyone,
I am having some difficulty and I'm sure if I am just way off track or not!!
I am trying to provide a form to allow the user to select two patients from the Patients Table. Each patient can have notes. I need to be able to move one patients notes to another patient.
At the moment I have a form (MergeForm) with two subform (sfOldPatient and sfNewPatient). The subform shows the list of patients with a filter text box to narrow down the patients. My problem is that I cant seem to access the filtered patient from the MergeForm.
I tried exposing the textbox displaying the ID of the patient by
But I couldnt seem to access it.
Am I completely off track? or just missing something?
Thanks in advance for your help.
I am having some difficulty and I'm sure if I am just way off track or not!!
I am trying to provide a form to allow the user to select two patients from the Patients Table. Each patient can have notes. I need to be able to move one patients notes to another patient.
At the moment I have a form (MergeForm) with two subform (sfOldPatient and sfNewPatient). The subform shows the list of patients with a filter text box to narrow down the patients. My problem is that I cant seem to access the filtered patient from the MergeForm.
I tried exposing the textbox displaying the ID of the patient by
Code:
Public Function SelectedPatient() As String
'Returns the Id of the Selected Patient on the subform
SelectedPatient = txtId.Value
End Function
But I couldnt seem to access it.
Am I completely off track? or just missing something?
Thanks in advance for your help.