• Query made with Unmatched Query Wizard

    Home » Forums » AskWoody support » Productivity software by function » MS Access and database help » Query made with Unmatched Query Wizard

    Author
    Topic
    #469379

    I have created a query using the unmatched query wizard. The query works fine except that in the datasheet view of the query I can not modify any of the data. I am using this query to find all records where the email address is not matching the list of email addresses I have for my agents.

    Any thoughts

    Viewing 2 reply threads
    Author
    Replies
    • #1227090

      Yes queries made using the unmatched query wizard are not updateable.

      To achieve the same result with an updateable query you need a query with a subquery

      Select tableA.* from tableA where tableA.email not in (select tableB.email from tableB)

      • #1227147

        Yes queries made using the unmatched query wizard are not updateable.

        To achieve the same result with an updateable query you need a query with a subquery

        Select tableA.* from tableA where tableA.email not in (select tableB.email from tableB)

        I am lost here…

        I have attached what I am working on for you to see…

        2 tables
        [master data] – This is the table holding all the records
        [agent] – this is the table I want to verify the email against.

        The query should show all records in [master data] where there is no match to an email address found in [agent]

    • #1227131

      If using sub-queries in Access databases with large tables of data, you may find that processing is slow.

      • #1227148

        If using sub-queries in Access databases with large tables of data, you may find that processing is slow.

        That is where I get no choice. The main table will be holdingh a lot of records… the only good thing is that this function will only be used once a month or so… and only by me…

    • #1227176

      Here is a version that works. query2.

      My original plan a “not in ” subquery did not work. Not sure why.

      This one finds any records in Master data where the ID is in your first unmatched query.

      This does work and is updateable.

      Is there a reason that the master data table uses the email address to identify the agent? Standard practice is to always use the key field to identify a record in another table.

      • #1227520

        Here is a version that works. query2.

        Is there a reason that the master data table uses the email address to identify the agent?

        This is the way the information is tracked in other systems and as you can see from the query that the information is sometimes wrong comming in.

    Viewing 2 reply threads
    Reply To: Query made with Unmatched Query Wizard

    You can use BBCodes to format your content.
    Your account can't use all available BBCodes, they will be stripped before saving.

    Your information: