Results 1 to 4 of 4
  1. #1
    Harley Guy is offline Advanced Beginner
    Windows 7 64bit Access 2010 64bit
    Join Date
    Apr 2010
    Posts
    57

    Search on text fields - Wildcard?


    Good morning all...I would like to have a query where someone could enter any search string on a task. IE: If someone wanted to know what employees could do any task involving windows, user could enter in the word "window" and it would return any tasks contianing the word "window". User could use the same query and enter in the word "insulation" and all tasks would come up containing the word insulation.

    I'm fairly certain Access has the ability to do this but I don't know the correct parameters.

    Thanks in advance!

  2. #2
    JoeM is offline VIP
    Windows XP Access 2007
    Join Date
    Jun 2012
    Posts
    3,904
    If you enter the following expression in the Criteria row of the Field you want to search the item for, it will prompt you for an entry whenever you run the query, where you can enter whatever you want to look for, and it will return all records meeting that criteria:
    Like "*" & [enter word to search for] & "*"

  3. #3
    Harley Guy is offline Advanced Beginner
    Windows 7 64bit Access 2010 64bit
    Join Date
    Apr 2010
    Posts
    57
    I knew it was something easy...worked like a charm Joe...thank you very much!

  4. #4
    JoeM is offline VIP
    Windows XP Access 2007
    Join Date
    Jun 2012
    Posts
    3,904
    Your welcome!

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

Similar Threads

  1. Replies: 1
    Last Post: 08-13-2012, 03:38 PM
  2. Wildcard search within ComboBox to control RowSource
    By CaptainKen in forum Programming
    Replies: 22
    Last Post: 05-16-2012, 02:19 PM
  3. Cant see where its wrong - VBA wildcard search.
    By shabbaranks in forum Programming
    Replies: 3
    Last Post: 03-22-2012, 03:56 AM
  4. Search multiple fields from one text box
    By tommy93 in forum Queries
    Replies: 21
    Last Post: 01-10-2012, 02:18 AM
  5. Wildcard Expressions in Search Field
    By eww in forum Programming
    Replies: 4
    Last Post: 09-29-2010, 10:27 AM

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