Hi, I have a popup form that uses a memo field on my form and you can edit/view in a much larger window that on the form.
I am getting a error message when I close the popup form:
Field on Customers form control source (Customer Notes) named (Notes)
Field on form (frmCustomerNotes) is unbound. Name (TxtDescription)
Error message is; Run-time error '2185'
You can't reference a property or method for a control unless the control has the focus.
Private Sub Form_Close()
Forms![Customers]![Customer Notes] = Forms![frmCustomerNotes]![TxtDescription]
TxtDescription.SelStart = Len(Notes) 'HERE IS WHERE CODE ERRORS OUT AT.
DoCmd.Close
End Sub
Private Sub Form_Open(Cancel As Integer)
Forms![frmCustomerNotes]![TxtDescription] = Forms![Customers]![Customer Notes]
End Sub