T
Toucan
Dear all.
I have a form with memo fields and it contains a subform with buttons to
insert boilerplate text into the fields in the parent form.
See the code:
Private Sub CommandFair_Click()
Dim str As String
str = "fair"
Screen.PreviousControl = Screen.PreviousControl & str & " "
Screen.PreviousControl.SetFocus
End Sub
What is happening is that the first time I click on a different button I get
an error message.
Any thoughs?
Thanks.
I have a form with memo fields and it contains a subform with buttons to
insert boilerplate text into the fields in the parent form.
See the code:
Private Sub CommandFair_Click()
Dim str As String
str = "fair"
Screen.PreviousControl = Screen.PreviousControl & str & " "
Screen.PreviousControl.SetFocus
End Sub
What is happening is that the first time I click on a different button I get
an error message.
Any thoughs?
Thanks.