J
JamesJ
Hi. I'm trying to find text in a certain field using the inputbox
but have not had any luck. The code below produces no errors
but does nothing.
Private Sub cmdFind_Click()
Dim Message, Title, Default, MyValue
Message = "Enter text string to find" ' Set prompt.
Title = "Find Text" ' Set title.
MyValue = InputBox(Message, Title, Default)
With Me.RecordsetClone
.FindFirst "[DvdMovieTitle]= ' " & MyValue & " ' "
End With
End Sub
Am I close??
Thanks,
James
but have not had any luck. The code below produces no errors
but does nothing.
Private Sub cmdFind_Click()
Dim Message, Title, Default, MyValue
Message = "Enter text string to find" ' Set prompt.
Title = "Find Text" ' Set title.
MyValue = InputBox(Message, Title, Default)
With Me.RecordsetClone
.FindFirst "[DvdMovieTitle]= ' " & MyValue & " ' "
End With
End Sub
Am I close??
Thanks,
James