Results 1 to 4 of 4
  1. #1
    cmiyatake is offline Novice
    Windows 10 Access 2016
    Join Date
    Jul 2019
    Posts
    28

    Search Memo Field

    I have Access 2016. I have imported a company spreadsheet as a table and created a query and form to which I may search the data. The key field that I need to gather data searches from is a memo field. How can I do searches on this field?

  2. #2
    ranman256's Avatar
    ranman256 is online now VIP
    Windows Vista Access 2010 32bit
    Join Date
    Apr 2014
    Location
    Kentucky
    Posts
    9,527
    a text box on a form, user enters the word in txtFind box,
    the query would be:

    select * from table where [myfield] like "*" & forms!myForm!txtFind & "*"

    this should work in 2016 LONG TEXT field,
    but may not work with the old MEMO fields. (back then you couldn't search in memo fields)

  3. #3
    cmiyatake is offline Novice
    Windows 10 Access 2016
    Join Date
    Jul 2019
    Posts
    28
    many thanks. just what I was looking for.

  4. #4
    Micron is offline Virtually Inert Person
    Windows 10 Access 2016
    Join Date
    Jun 2014
    Location
    Ontario, Canada
    Posts
    12,807
    I have imported a company spreadsheet as a table
    Watch out for truncation on long text/memo fields, both in the import and any query results. Data can get cut off after 255 characters.
    The more we hear silence, the more we begin to think about our value in this universe.
    Paraphrase of Professor Brian Cox.

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

Similar Threads

  1. Replies: 21
    Last Post: 09-29-2017, 01:30 PM
  2. Replies: 4
    Last Post: 10-17-2016, 06:19 PM
  3. Replies: 9
    Last Post: 07-21-2014, 11:57 AM
  4. Replies: 4
    Last Post: 05-17-2013, 02:38 AM
  5. Replies: 5
    Last Post: 06-19-2012, 10:46 AM

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