Results 1 to 2 of 2
  1. #1
    purpleangelbear is offline Novice
    Windows 10 Access 2010 64bit
    Join Date
    Jul 2018
    Posts
    1

    Using a Where Clause to Filter Data

    Hi-


    I'm somewhat a novice at Access. I've built buttons where Field x matches exactly Field y in two separate forms. How do I do a button where the data might not match exactly? I've played around with the Where Condition and I just can't figure out the correct format to use.

  2. #2
    ranman256's Avatar
    ranman256 is offline VIP
    Windows Vista Access 2010 32bit
    Join Date
    Apr 2014
    Location
    Kentucky
    Posts
    9,524
    sWhere = "[field] like '*" & txtBox & "*'"

Please reply to this thread with any new information or opinions.

Similar Threads

  1. Filter Report Data
    By Forbes in forum Reports
    Replies: 9
    Last Post: 03-14-2017, 11:51 AM
  2. Replies: 7
    Last Post: 09-08-2016, 05:06 PM
  3. Replies: 1
    Last Post: 03-22-2015, 02:21 PM
  4. Find Record with a While Clause (filter)
    By geraldk in forum Programming
    Replies: 1
    Last Post: 02-01-2013, 04:38 PM
  5. Filter non-text data
    By bdriscoll in forum Access
    Replies: 2
    Last Post: 09-25-2009, 05:49 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
  •  
Other Forums: Microsoft Office Forums