I have a calculated field called SearchItem :
[ownerID] & [BuildingNr] & [ BuildingName] & [OwnerName]
The Code on the Search btn:
Me.FINDER.SetFocus
Me.FilterOn = False
Me.Filter = "[SearchItem] Like '*" & FINDER & "*' "
ME.FilterOn = True
Me.Requery
When I populate the FINDER field with one of the field experessions, as in [BuilidingNr] HT132 I get an expected filter on the Calculated field, but not if I use two expressions as in HT132 Jackson - Jackson being an owners name.
The calculated field reads by example: 123HT132DevonHeightsJackson
Any thoughts as to why?
The Clear btn code is:
DoCmd.ShowAllRecords
Me.FINDER.SetFocus
Me.FINDER = ""
[ownerID] & [BuildingNr] & [ BuildingName] & [OwnerName]
The Code on the Search btn:
Me.FINDER.SetFocus
Me.FilterOn = False
Me.Filter = "[SearchItem] Like '*" & FINDER & "*' "
ME.FilterOn = True
Me.Requery
When I populate the FINDER field with one of the field experessions, as in [BuilidingNr] HT132 I get an expected filter on the Calculated field, but not if I use two expressions as in HT132 Jackson - Jackson being an owners name.
The calculated field reads by example: 123HT132DevonHeightsJackson
Any thoughts as to why?
The Clear btn code is:
DoCmd.ShowAllRecords
Me.FINDER.SetFocus
Me.FINDER = ""