Results 1 to 2 of 2
  1. #1
    jlgray0127 is offline Competent Performer
    Windows 7 64bit Access 2003
    Join Date
    Oct 2011
    Location
    Central Illinois
    Posts
    193

    Comparing records in 2 tables


    I have a database that takes a snapshot of a table from a mainframe. The query runs as a make table, and everytime it runs, it creates a new table.
    The result of this, is a table of yesterday's data, and another table with today's data.
    What I need, is a query that looks at yesterday's data, and compares it to today's data, and only shows me the whole record, where a change has been made, to any field.
    The table I am taking a snapshot of, has 18 columns. A change can be made to the value in any one of these columns.
    If the record is different today, from yesterday, I need to be able to capture this record. Any idea how to do this?

  2. #2
    June7's Avatar
    June7 is offline VIP
    Windows XP Access 2010 32bit
    Join Date
    May 2011
    Location
    The Great Land
    Posts
    53,770
    Can you run UPDATE query with the mainframe table instead of MAKE TABLE?
    How to attach file: http://www.accessforums.net/showthread.php?t=70301 To provide db: copy, remove confidential data, run compact & repair, zip w/Windows Compression.

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

Similar Threads

  1. Comparing two tables.
    By elmister in forum Access
    Replies: 11
    Last Post: 08-24-2011, 11:59 AM
  2. Comparing two tables.
    By elmister in forum Queries
    Replies: 1
    Last Post: 08-22-2011, 05:32 PM
  3. Comparing Records in two (2) Tables.
    By RalphJ in forum Programming
    Replies: 19
    Last Post: 04-19-2011, 02:50 AM
  4. Comparing Like Records
    By JSAKelley in forum Queries
    Replies: 0
    Last Post: 04-16-2011, 05:31 PM
  5. Comparing tables
    By YoungWolf in forum Database Design
    Replies: 7
    Last Post: 01-10-2011, 11:32 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