Results 1 to 3 of 3
  1. #1
    nicolareina is offline Novice
    Windows 10 Access 2016
    Join Date
    Apr 2021
    Posts
    8

    find record more table

    good morning everyone.
    I will briefly explain my problem.

    HELP



    in my database I have 2 tables (TBL_1 and TBL_2)

    In the "Lista Sottoposti" form I asked if there was the possibility of finding the records in TBL_1 and TBL_2.

    Once the record is found, clicking on the "Open" link will open the "Dettaglio Sottoposto" form

    I have already tried with a union query, the problem arises that when in TBL_1 and TBL_2, there is a person with the same ID, then clicking the open button gives me an error.

    Code:
    https://file.kiwi/3380d814#kImxqZmADdGD5Ih7lvgv0A
    Download Example.accdb

    Sorry max file size attachement 500,000 Kbyte



  2. #2
    jojowhite's Avatar
    jojowhite is online now Competent Performer
    Windows 11 Access 2021
    Join Date
    Jan 2025
    Posts
    434
    I can't believe you have 191 fields on Each tables.
    no wonder you cannot create a Union query.
    you need to break Wide table into smaller, narrow tables.

  3. #3
    Join Date
    Jan 2017
    Location
    Swansea,South Wales,UK
    Posts
    6,556
    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

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

Similar Threads

  1. Replies: 6
    Last Post: 04-16-2018, 09:15 PM
  2. Replies: 1
    Last Post: 12-26-2016, 08:57 AM
  3. Replies: 4
    Last Post: 06-02-2016, 08:13 AM
  4. Replies: 2
    Last Post: 07-17-2014, 02:07 AM
  5. Replies: 5
    Last Post: 10-03-2013, 07:40 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