I open my form and my textBox1 default value is "Type Name"
Users use this textBox1 to search for clients.
I have a "clear filter" button to reset the form however i can't get the default value of the texBox1 to return to "Type Name". Any ideas?
This is what i have (that doesn't work) on my reset filter command button:
Users use this textBox1 to search for clients.
I have a "clear filter" button to reset the form however i can't get the default value of the texBox1 to return to "Type Name". Any ideas?
This is what i have (that doesn't work) on my reset filter command button:
Code:
Private Sub Command99_Click()
Me.Filter = ""
DoCmd.RunCommand acCmdRecordsGoToLast
Me.Refresh
Me.textBox1.DefaultValue = "Type Name"
End Sub