Results 1 to 6 of 6
  1. #1
    wvswede is offline Novice
    Windows XP Access 2003
    Join Date
    Apr 2010
    Posts
    3

    Smile Query A part description /name

    Hello Everyone,

    I am setting up a database for making it easy to find parts( I thought)

    The problem im running into is that the partname / description could be for instance : "Gasket, Left head" well if they search for "Gasket" they are going to find everything that starts with gasket not a big deal if you just click through the finding until you find what you are looking for.

    The problem is if anyone search by the common name "Head gasket" since its not written the exact same way it will not find it. Right now im using the "find" function through the Command button wizard.

    So what I need help with is a function to look for any word in any order. If its part of the description it will find it



    Greatful for any help or guidance anyone can offer.
    Last edited by wvswede; 04-03-2010 at 01:58 AM. Reason: More Info

  2. #2
    RuralGuy's Avatar
    RuralGuy is offline Administrator
    Windows 7 Access 2007
    Join Date
    Mar 2007
    Location
    8300' in the Colorado Rocky Mountains
    Posts
    12,922
    You will need to use the Like operator and the wildcard character "*".

  3. #3
    wvswede is offline Novice
    Windows XP Access 2003
    Join Date
    Apr 2010
    Posts
    3

    Cool

    Thnx RuralGuy,

    Already tried that though Like "*" & [Partname] & "*"
    If I enter the partname excactly like it was entered into the Database

    Gasket, Left Head

    the query will find what I am looking for, but the common name is

    Head Gasket

    This it will not find.

    Is there any way around this where it will look for either order of the words, I would hate to have to re enter all the data in the database.

    Thanks,

  4. #4
    RuralGuy's Avatar
    RuralGuy is offline Administrator
    Windows 7 Access 2007
    Join Date
    Mar 2007
    Location
    8300' in the Colorado Rocky Mountains
    Posts
    12,922
    And what happens if you look for just Gasket?

  5. #5
    wvswede is offline Novice
    Windows XP Access 2003
    Join Date
    Apr 2010
    Posts
    3
    Searching just Gasket it finds it, after a few scrolls through the results

    as well as Searching just on Head and also when searching on Left.

    Its when you for some reason would search for head Gasket wich is the common name, where the words are backwards compared to the data in tables....

    This is not a big thing though I got 1000's of records that would have to be altered if I want to change it to actually say Left Head Gasket and so on.....

    Thought maybe there would be a command for the query where it would actually ignore the order of the words in the table, but i guess no such luck

  6. #6
    RuralGuy's Avatar
    RuralGuy is offline Administrator
    Windows 7 Access 2007
    Join Date
    Mar 2007
    Location
    8300' in the Colorado Rocky Mountains
    Posts
    12,922
    I wonder how Google does it?

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

Similar Threads

  1. Part Number Lookup
    By jacobbiljo in forum Queries
    Replies: 1
    Last Post: 11-12-2009, 09:22 AM
  2. Replies: 0
    Last Post: 03-05-2007, 08:04 PM
  3. Multiple Part Number Look=up
    By nywi6100 in forum Reports
    Replies: 0
    Last Post: 09-27-2006, 11:38 AM
  4. how do I create custom part numbers?
    By Sinatra Fan in forum Database Design
    Replies: 1
    Last Post: 09-01-2006, 04:09 PM
  5. Replies: 2
    Last Post: 12-09-2005, 01:58 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