Results 1 to 13 of 13

Thread: Help Building First Code as a Keyword Search

Threaded View

Previous Post Previous Post   Next Post Next Post
  1. #7
    VBAX Regular
    Joined
    Aug 2018
    Posts
    7
    Location
    Cheers OBP. Thx. have a good night.

    I've amended by code to:

    Private Sub btnSearch_Click()
    Dim SQL As String

    SQL = "Me.Filter = AssetNameFKwhere AssetNameFKLIKE '*"& Me.txtSearch &"*'"
    me.filterOn= True

    End Sub

    I tested this with no result.

    I also looked up https://docs.microsoft.com/en-us/off...lter(property) and now understand that a Filter is a form based property. Now I'm starting to understand.
    Last edited by 101; 08-20-2018 at 04:33 PM.

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •