I have an bound textbox which is set up to autopopulate with data depending on entries in other parts of the same / other forms.
Its coding is as follows:
I want to be able to enter new data also into the textbox so that it is saved in the table. Although the data is initially saved, upon exit from the form the manually entered data gets erased and only the auto entered data stays.
Any ideas for a solution?
Thanks
Its coding is as follows:
Code:
txtProblemList = DLookup("Diagnosis", "qryDiagnosis", "PatientID=" & [Forms]![frmPatient]![PatientID]) & " " & Me.txtPastMxHx & " " & Me.txtPastSxHx
txtProblemList = Trim(txtProblemList)
I want to be able to enter new data also into the textbox so that it is saved in the table. Although the data is initially saved, upon exit from the form the manually entered data gets erased and only the auto entered data stays.
Any ideas for a solution?
Thanks