The code below is what I use to search a fld in a db, but it searches for an exact string. Is there a way to modify this code, or can someone show me a new way to search a db that uses a "LIKE" operator. In other words if you enter "johnso" in the txtSearchLast.Text box, the db will still locate johnson because johnson is LIKE "johnso"
Here is the current code I use:
With frmMain!Data1.Recordset
varBookmark = .Bookmark
.Index = "LastName"
.Seek "=", txtSearchLast.Text
If .NoMatch Then
.Bookmark = varBookmark
End If
End With
-
Looking Toward The Future
Here is the current code I use:
With frmMain!Data1.Recordset
varBookmark = .Bookmark
.Index = "LastName"
.Seek "=", txtSearchLast.Text
If .NoMatch Then
.Bookmark = varBookmark
End If
End With
-

Looking Toward The Future