Results 1 to 4 of 4
  1. #1
    161 is offline L33t N00b
    Windows 2K Access 2003
    Join Date
    Dec 2010
    Posts
    33

    Query By Form (searching for non-exact fields)

    Hello,



    I'm currently using a form to search my entire database for values in a few different fields. Here is the template I'm following:
    http://support.microsoft.com/kb/304428

    The Problem is in part (5), where it does the query for an "exact" result. I have a description field that I want some flexibility in. So if I do a search for "paper", I want everything to pop up that has anything to do with paper. Like "paper clips" and "colored paper" etc.

    Is there a way I can do a query for "similar" results, rather than "exact"?

  2. #2
    pbaldy's Avatar
    pbaldy is online now Who is John Galt?
    Windows XP Access 2007
    Join Date
    Feb 2010
    Location
    Nevada, USA
    Posts
    22,521
    You should have read down further. Try

    Like "*" & Forms!FormName.ControlName & "*"
    Paul (wino moderator)
    MS Access MVP 2007-2019
    www.BaldyWeb.com

  3. #3
    161 is offline L33t N00b
    Windows 2K Access 2003
    Join Date
    Dec 2010
    Posts
    33
    O wow, theres such a command... im a n00b. awesome, thanks!

  4. #4
    pbaldy's Avatar
    pbaldy is online now Who is John Galt?
    Windows XP Access 2007
    Join Date
    Feb 2010
    Location
    Nevada, USA
    Posts
    22,521
    No problemo!
    Paul (wino moderator)
    MS Access MVP 2007-2019
    www.BaldyWeb.com

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

Similar Threads

  1. Replies: 1
    Last Post: 12-22-2010, 01:28 AM
  2. Replies: 1
    Last Post: 11-07-2010, 11:04 AM
  3. Searching in the form
    By seeter in forum Forms
    Replies: 11
    Last Post: 08-10-2010, 08:37 AM
  4. Replies: 0
    Last Post: 11-10-2009, 12:06 PM
  5. set an exact size for a group section?
    By Coolpapabell in forum Reports
    Replies: 0
    Last Post: 08-21-2009, 08:26 AM

Tags for this Thread

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