B
Brent
I have the following code in a form I'm using. When I click on the button
to run this it brings up the input box twice. Once as I would expect it and
the next time it shows the information typed into the input box as the
prompt data. Any ideas on what I need to correct?
Dim myvalue As String
myvalue = InputBox("Enter Last Name", "Search")
Me.Filter = "[lastname] =" & myvalue & ""
Me.FilterOn = True
to run this it brings up the input box twice. Once as I would expect it and
the next time it shows the information typed into the input box as the
prompt data. Any ideas on what I need to correct?
Dim myvalue As String
myvalue = InputBox("Enter Last Name", "Search")
Me.Filter = "[lastname] =" & myvalue & ""
Me.FilterOn = True