Results 1 to 7 of 7
  1. #1
    uresan is offline Novice
    Windows 10 Access 2016
    Join Date
    Mar 2022
    Posts
    5

    Table combobox search and table lookup

    Hello,



    I'm new to access and also to that forum. If theme or place is not appropriate for my question please let me know.

    I came to a issue where I can't find solution that I want.

    My desired workflow is that combobox fills with all results that contain morpheme.




    For instance. When I write "art" I want to get all restults that contain word "art" and when I select one, for instance 1002, that number 1002 is written to column ARTIKEL and word "Article3" is written to column NAME.

    Thank you for your help in advance.

    Best regards,

  2. #2
    orange's Avatar
    orange is offline Moderator
    Windows 10 Office 365
    Join Date
    Sep 2009
    Location
    Ottawa, Ontario, Canada; West Palm Beach FL
    Posts
    16,850
    Welcome to the forum uresan!
    There are Similar Threads at the bottom of the page that may offer some insight.
    If not, then I suggest you copy your related code and post it directly in a post.
    The more detail/context you provide could facilitate focused responses.

  3. #3
    uresan is offline Novice
    Windows 10 Access 2016
    Join Date
    Mar 2022
    Posts
    5

    RE:

    Hello, thank you for your answer.

    I think it would be helpful if I provide you with photo. See enclosed.

    PS. I already solved part to fill "Article3" to column NAME.
    Attached Thumbnails Attached Thumbnails tmp.png  

  4. #4
    orange's Avatar
    orange is offline Moderator
    Windows 10 Office 365
    Join Date
    Sep 2009
    Location
    Ottawa, Ontario, Canada; West Palm Beach FL
    Posts
    16,850
    Often better to post actual code where readers can see and copy/test. A graphic is helpful for overall context, but field values etc can not be copied and or tested.

    I think you are working with the columns of the combobox rowsource in your AfterUpdate logic, but that's just a guess since we can't see any code involved.

    Is there still an issue or have things been resolved?

  5. #5
    Join Date
    Jan 2017
    Location
    Swansea,South Wales,UK
    Posts
    6,275
    Wouldn't it make more sense to match the numeric to the article numbers?, so 1001 is Article1, 1002 is Article2 etc
    Please use # icon on toolbar when posting code snippets.
    Cross Posting: https://www.excelguru.ca/content.php?184
    Debugging Access: https://www.youtube.com/results?sear...bug+access+vba

  6. #6
    Micron is offline Very Inert Person
    Windows 10 Access 2016
    Join Date
    Jun 2014
    Location
    Ontario, Canada
    Posts
    13,372
    According to the icon I see in the pic header, that is a table and the list is a table lookup field. Post title indicates that too, so isn't the right answer to not use lookup fields in tables?
    The more we hear silence, the more we begin to think about our value in this universe.
    Paraphrase of Professor Brian Cox.

  7. #7
    orange's Avatar
    orange is offline Moderator
    Windows 10 Office 365
    Join Date
    Sep 2009
    Location
    Ottawa, Ontario, Canada; West Palm Beach FL
    Posts
    16,850
    micron,

    You are most likely correct when I look at this thread again. Still, as has been preached for years, posters should provide some context including "what" they are trying to "solve". Agree 100% avoid field lookups in tables.

    But I did find a new word and meaning.
    A "morpheme" is a short segment of language that meets three basic criteria: 1. It is a word or a part of a word that has meaning. 2. It cannot be divided into smaller meaningful segments without changing its meaning or leaving a meaningless remainder.

    @uresan
    You may find this thread a related interest.

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

Similar Threads

  1. Replies: 4
    Last Post: 05-10-2021, 01:40 PM
  2. Replies: 3
    Last Post: 07-05-2019, 02:41 PM
  3. Replies: 2
    Last Post: 02-21-2018, 01:32 AM
  4. Replies: 3
    Last Post: 06-02-2017, 03:49 PM
  5. Replies: 8
    Last Post: 03-22-2012, 08:48 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