G
Guest
I want to restrict an "Accept" button to a Tracking note on the same form
until it has at least 5 characters in it. I thought the code below would
work in the KeyDown or Keypress event of the textbox (Me.TrackingNote). But
I'm still missing something. What is it?
If Len(Me.TrackingNote) > 5 Then
Me.Accept.Enabled = True
Else
Me.Accept.Enabled = False
End If
until it has at least 5 characters in it. I thought the code below would
work in the KeyDown or Keypress event of the textbox (Me.TrackingNote). But
I'm still missing something. What is it?
If Len(Me.TrackingNote) > 5 Then
Me.Accept.Enabled = True
Else
Me.Accept.Enabled = False
End If