hi, im making a search, got exact to work using this
tried to do one using like, like this
does anyone know whats going wrong or how you can use the like operator with the findrecord function?
thanks
Case "Dewey Decimal"
DoCmd.ShowAllRecords
DoCmd.GoToControl ("Dewey Decimal")
DoCmd.FindRecord Me.txtCriteria
tried to do one using like, like this
but it doesnt work, set up the text box crit, just to see what result was coming out as and it says falseCase "Title"
DoCmd.ShowAllRecords
DoCmd.GoToControl ("Title")
strResult = [Title] Like "'*" & Criteria & "*'"
DoCmd.FindRecord strResult
Me.txtcrit = strResult
does anyone know whats going wrong or how you can use the like operator with the findrecord function?
thanks