Help - I am having a mental block - I have an input form where I can define search criteria and all works fine but I want to make the search a little more flexible so that I can search for parts of names - equivalent to like "*" & [enter detail] & "*" in a query. Assistance please. Current code is
Dim stDocName As String
Dim stLinkCriteria As String
stDocName = "detaildata"
stLinkCriteria = "[nwthename]=" & "'" & Me![whichclient] & "'"
DoCmd.OpenForm stDocName, , , stLinkCriteria
Dim stDocName As String
Dim stLinkCriteria As String
stDocName = "detaildata"
stLinkCriteria = "[nwthename]=" & "'" & Me![whichclient] & "'"
DoCmd.OpenForm stDocName, , , stLinkCriteria