Results 1 to 5 of 5
  1. #1
    hnorgaar is offline Novice
    Windows 10 Access 2016
    Join Date
    May 2021
    Posts
    19

    Part match for query

    hi

    I have 2 tables with texts and they only partly match, so I will like to do

    Have from table1 field1 "2 red tables xxxxxxxx" to match in table 2 field1 "red" and give me output from table 2 field2 Translate "Rød"

    I have attached my small database with try which doesnt work


    Thx for any input
    Attached Files Attached Files

  2. #2
    CJ_London is offline VIP
    Windows 10 Access 2010 32bit
    Join Date
    Mar 2015
    Posts
    11,446
    perhaps just remove the join between the two tables.

    if you just want where red like "*red*" then you need to either have some means of separating out the 'red' from the full text (using instr/left/mid type functions), or maintain a separate keywords table and compare via that table

  3. #3
    hnorgaar is offline Novice
    Windows 10 Access 2016
    Join Date
    May 2021
    Posts
    19
    I dont want to separate, I want the field which correspond with translated text, and I have 2 tables and try to match/compare between them. The real database I have is a bit more complicated and the provided base is just for reference

  4. #4
    CJ_London is offline VIP
    Windows 10 Access 2010 32bit
    Join Date
    Mar 2015
    Posts
    11,446
    1. suggest you try my suggested solution (remove the link)
    2. if this does not meet your needs then based on your limited example in the db what do you expect to match?
    3. you say the real situation is more complicated so chances as any solution based on your simple data won't meet your needs

    If you want a proper solution, provide proper data with the result required. Don't waste everyone's time creating solutions that don't meet you needs

  5. #5
    hnorgaar is offline Novice
    Windows 10 Access 2016
    Join Date
    May 2021
    Posts
    19
    Ok, thx for your help

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

Similar Threads

  1. Replies: 5
    Last Post: 06-15-2018, 03:14 PM
  2. Replies: 1
    Last Post: 07-22-2017, 09:45 AM
  3. Query Part of a Field
    By EHittner in forum Queries
    Replies: 1
    Last Post: 01-31-2015, 07:28 PM
  4. How Can export Large table part by part
    By shabar in forum Import/Export Data
    Replies: 2
    Last Post: 02-04-2013, 06:29 AM
  5. Query A part description /name
    By wvswede in forum Queries
    Replies: 5
    Last Post: 04-07-2010, 06:07 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