+ Reply to Thread
Results 1 to 3 of 3

How to have a partial match on form?

  1. #1
    Valued Forum Contributor
    Join Date
    12-22-2010
    Location
    Texas
    MS-Off Ver
    Excel 2003 & Excel/Access 2007
    Posts
    438

    How to have a partial match on form?

    Good morning, I have a query that has [Forms]![FORM NAME].[FIELD NAME] that works well when the user enters the exact information. I would like for it to bring back partial matches so I tried Like [Forms]![FORM NAME].[FIELD NAME] & "*" & even tried Like *[Forms]![FORM NAME].[FIELD NAME]* but the query just runs & in the 2nd case it doesn't work. Does anyone know how I can edit this deal so it can bring back partial matches???
    Last edited by jgomez; 06-05-2013 at 05:20 PM.

  2. #2
    Forum Moderator alansidman's Avatar
    Join Date
    02-02-2010
    Location
    Steamboat Springs, CO
    MS-Off Ver
    MS Office 365 insider Version 2506 Win 11
    Posts
    24,799

    Re: How to have a partial match on form?

    I use this regularly and don't have an issue.

    Please Login or Register  to view this content.

    If you use the above as you indicated and in your form type "Al", then it should bring back everything that begins with Al. Is your issue one of using a combo box field on your form. If so, then you will need to change things up just a bit. Please advise if this is the case.

    Alan
    Alan עַם יִשְׂרָאֵל חַי


    Change an Ugly Report with Power Query
    Database Normalization
    Complete Guide to Power Query
    Man's Mind Stretched to New Dimensions Never Returns to Its Original Form

  3. #3
    Valued Forum Contributor
    Join Date
    12-22-2010
    Location
    Texas
    MS-Off Ver
    Excel 2003 & Excel/Access 2007
    Posts
    438

    Re: How to have a partial match on form?

    I had it backwards... I changed it to
    Please Login or Register  to view this content.
    ... the text I enter is at the end not the begining like you indicate in your example.

+ Reply to Thread

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts

Search Engine Friendly URLs by vBSEO 3.6.0 RC 1