Results 1 to 3 of 3
  1. #1
    TimMoffy is offline Novice
    Windows XP Access 2010 32bit
    Join Date
    May 2012
    Posts
    29

    Return results based on a partial search

    I have put together a search form for end users and in my query have added the following as the criteria.



    Like "*" & [Forms]![frmSearch]![txtclaimno] & "*"

    The form names and fields are all correct and I have used this type of criteria before, succesfully.
    This doesn't work though. Can anyone see a blindingly obvious bit Ii have missed out?

    When i enter the claim number in the search field on the form I get no results at all, whereas if i put in something simple such as
    Like *6146* in the query criteria Ii do get two possible claim numbers returned, which is correct.

    Brit claim reference
    200376146 - GRA-MT-86607
    GRA-MT-92758 - 200446146

    Stumped and under pressure to deliver. Thanks as always.

  2. #2
    TimMoffy is offline Novice
    Windows XP Access 2010 32bit
    Join Date
    May 2012
    Posts
    29
    Sorted - i hadn't saved the form. As soon as I did the whole thing works beautifully - thanks for looking anyway.

  3. #3
    RuralGuy's Avatar
    RuralGuy is offline Administrator
    Windows 7 64bit Access 2010 32bit
    Join Date
    Mar 2007
    Location
    8300' in the Colorado Rocky Mountains
    Posts
    12,922
    Thanks for sharing your solution.

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

Similar Threads

  1. Replies: 4
    Last Post: 08-16-2011, 05:54 PM
  2. Search for partial field
    By j_a_monk in forum Queries
    Replies: 3
    Last Post: 06-08-2011, 08:40 AM
  3. Replies: 7
    Last Post: 08-13-2010, 02:57 PM
  4. Replies: 5
    Last Post: 10-08-2009, 05:15 AM
  5. Partial Matching based Queries
    By Yatesb in forum Queries
    Replies: 0
    Last Post: 02-23-2009, 01:06 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