Results 1 to 3 of 3
  1. #1
    Al77 is offline Novice
    Windows XP Access 2010 32bit
    Join Date
    Feb 2012
    Posts
    20

    KEYword search from a form field

    I am struggling to find the way that you can tell Access to search for a 'like' word (e.g. a 'part' of a string) from the words as input in a Form field.



    My queries run perfectly from the form for EXACT matches but I have NO idea how to reference the field for a 'LIKE' search in order to use it for KEYword searches.

    My query entry at present = [Forms]![frm_LIBRARY_Dashboard].[Keyword], where Keyword is my form button.

    With a 'Like' criteria I can obviously specify the word to search for, but would like to COMBINE both this and the button function using an entry field in the same form.

    I hope this makes sense!

    Any help / advice much appreciated.

  2. #2
    June7's Avatar
    June7 is offline VIP
    Windows 7 64bit Access 2010 32bit
    Join Date
    May 2011
    Location
    The Great Land
    Posts
    53,771
    Use LIKE and wildcard with text data.

    LIKE "*" & [Forms]![frm_LIBRARY_Dashboard].[textboxname] & "*"
    How to attach file: http://www.accessforums.net/showthread.php?t=70301 To provide db: copy, remove confidential data, run compact & repair, zip w/Windows Compression.

  3. #3
    Al77 is offline Novice
    Windows XP Access 2010 32bit
    Join Date
    Feb 2012
    Posts
    20
    FANTASTIC - I had tried so many permutations, but that one did not even occur to me.

    THANK YOU!

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

Similar Threads

  1. Keyword or fragment search
    By orange in forum Sample Databases
    Replies: 0
    Last Post: 01-23-2015, 02:47 PM
  2. keyword search
    By Mbakker71 in forum Access
    Replies: 5
    Last Post: 02-05-2014, 06:03 AM
  3. A TRUE Keyword Search
    By Meep in forum Queries
    Replies: 72
    Last Post: 05-13-2013, 06:45 PM
  4. Replies: 18
    Last Post: 01-31-2013, 01:18 PM
  5. Multiple Keyword Search
    By gatsby in forum Access
    Replies: 15
    Last Post: 01-21-2013, 10:53 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