Results 1 to 4 of 4
  1. #1
    MTSPEER is offline Competent Performer
    Windows 7 64bit Access 2010 64bit
    Join Date
    Jun 2013
    Posts
    283

    Validating data against two tables

    Hello,

    I have this database where you can select to import a file and you can press a "Validate" button to run a couple queries to validate the information with another table. The two tables both have the same unique identifier called "GroupName". What I am trying to figure out is how to make sure that the file that is being imported, all the records can be validated by the other table. To make sure all the "GroupName"'s are on each table. I'm not sure if I can use a Recordset, or just a query. If there's a record that's not on the validation table but is on the table that the file was imported to. I want to be able to have a message box appear and let me know that not all the records can be validated. Thanks for you help.

  2. #2
    pbaldy's Avatar
    pbaldy is offline Who is John Galt?
    Windows XP Access 2007
    Join Date
    Feb 2010
    Location
    Nevada, USA
    Posts
    22,521
    Check out the unmatched query wizard. You can use a recordset or domain aggregate function against that.
    Paul (wino moderator)
    MS Access MVP 2007-2019
    www.BaldyWeb.com

  3. #3
    MTSPEER is offline Competent Performer
    Windows 7 64bit Access 2010 64bit
    Join Date
    Jun 2013
    Posts
    283
    Ah wow idk how I didn't think of that. thank you

  4. #4
    pbaldy's Avatar
    pbaldy is offline Who is John Galt?
    Windows XP Access 2007
    Join Date
    Feb 2010
    Location
    Nevada, USA
    Posts
    22,521
    Happy to help!
    Paul (wino moderator)
    MS Access MVP 2007-2019
    www.BaldyWeb.com

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

Similar Threads

  1. Validating Data on Form Entry
    By JoeM in forum Access
    Replies: 6
    Last Post: 09-23-2013, 02:13 PM
  2. Checking\validating data in a subform?
    By shabbaranks in forum Programming
    Replies: 1
    Last Post: 03-26-2012, 05:20 AM
  3. Validating data entry in a form
    By bdhFS in forum Programming
    Replies: 1
    Last Post: 05-18-2010, 03:09 PM
  4. Validating Field Data Across Tables?
    By venomshot in forum Forms
    Replies: 4
    Last Post: 02-04-2010, 05:04 PM
  5. Validating tables
    By JVagenheart in forum Database Design
    Replies: 1
    Last Post: 06-10-2006, 09:03 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