Filter Text Based On Change Event By Ali Gerailly 9139078449

Discussion in 'Access' started by Ali Gerailly, Apr 13, 2017.

  1. Ali Gerailly

    Ali Gerailly

    Apr 13, 2017
    Likes Received:
    Private Sub Text0_Change()

    ' Refresh Is Necessary Due To After Filtering Any Text While Back In Null Position Or Clear Text
    Filter Remove Otherwise Never Clear Filtering

    Qry = "[dwg] like " & "'*" & Me.Text0 & "*'"
    Me.Filter = Qry
    Me.FilterOn = True
    Text0.SelLength = 0
    'Nz Is Necessary Due To Not Give You The Null Error !!!
    Text0.SelStart = Nz(Len(Me.Text0))

    End Sub
    Last edited by a moderator: Apr 14, 2017
    Ali Gerailly, Apr 13, 2017
    1. Advertisements

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments (here). After that, you can post your question and our members will help you out.