Results 1 to 5 of 5
  1. #1
    wetsparks is offline Novice
    Windows 7 32bit Access 2007
    Join Date
    Jul 2012
    Posts
    3

    Looking for Keywords in a Field

    Hi all, back to access programing after several years away and the old grey matter isnt functioning like it used to



    What am I trying to do? Simple version, create a data base with two fields, one Index the other Text Entry. In the Text field I create one record with the word "chair" in it, then more records with tile, cafe, sink. I then create some more records with chair tile, chair tile sink and chair tile sink cafe in them. So all in all I have 7 records. Now comes the query!

    I can create a query to pull out say "chair" or "sink" on their own in it, but cant get the query to pull out the records containing say "chair" but also any other items in it. I have tried using comma and colon as delimiters but it dont work. Some help would be most welcome.

    TIA.

  2. #2
    JoeM is offline VIP
    Windows XP Access 2007
    Join Date
    Jun 2012
    Posts
    3,904
    If you wanted to return all entries containing the word "chair", you could place this in the Criteria section of that field:
    Code:
    Like "*chair*"

  3. #3
    wetsparks is offline Novice
    Windows 7 32bit Access 2007
    Join Date
    Jul 2012
    Posts
    3
    Thanks for the quick reply.

    To extend the question, how do I use the " [ ] " brackets to cause a popupbox to come up where I type in the search criteria?

  4. #4
    JoeM is offline VIP
    Windows XP Access 2007
    Join Date
    Jun 2012
    Posts
    3,904
    Try this in your Criteria:
    Code:
    Like "*" & [Enter search value] & "*"

  5. #5
    wetsparks is offline Novice
    Windows 7 32bit Access 2007
    Join Date
    Jul 2012
    Posts
    3
    That is just excellent, many thanks for your help here

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

Similar Threads

  1. Replies: 16
    Last Post: 04-11-2012, 10:56 AM
  2. Replies: 1
    Last Post: 03-03-2012, 10:17 PM
  3. how to highlight search keywords in results form?
    By Absolute_Beginner in forum Forms
    Replies: 2
    Last Post: 08-22-2011, 04:52 AM
  4. Replies: 4
    Last Post: 09-22-2010, 01:47 AM
  5. How to Search for keywords in a Query
    By Brian62 in forum Queries
    Replies: 2
    Last Post: 05-24-2010, 11:14 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