G
Guest
Trying to get a command button to concatenate values in two text boxes and
display it on to a label on the same form.
I have
Private Sub cmdDisplay_Click()
lblFullName.Caption = txtFirst.Text & txtLast.Text
End Sub
I get an error saying the control needs to have the focus, but I have
references to two controls (txtFirst and txtLast).
Is there a fix?
display it on to a label on the same form.
I have
Private Sub cmdDisplay_Click()
lblFullName.Caption = txtFirst.Text & txtLast.Text
End Sub
I get an error saying the control needs to have the focus, but I have
references to two controls (txtFirst and txtLast).
Is there a fix?