G
Guest
I have the following code to hide text box txtStreetAddress2 if text box
txtStreetAddress1 is empty.
Private Sub Form_Current()
txtStreetAddress1.SetFocus: If txtStreetAddress1.Text = "" Then
txtStreetAddress2.Visible = False
End Sub
It works, but how do I make txtStreetAddress2 reappear when
txtStreetAddress1 has been filled in?
I'm not really sure which is the correct property field for this.
Thank you
Peter
txtStreetAddress1 is empty.
Private Sub Form_Current()
txtStreetAddress1.SetFocus: If txtStreetAddress1.Text = "" Then
txtStreetAddress2.Visible = False
End Sub
It works, but how do I make txtStreetAddress2 reappear when
txtStreetAddress1 has been filled in?
I'm not really sure which is the correct property field for this.
Thank you
Peter