Results 1 to 2 of 2
  1. #1
    ntj61c is offline Novice
    Windows 7 64bit Access 2007
    Join Date
    Jun 2015
    Posts
    1

    Comparing Two Records

    How do you compare column A to one record to column B in the next or previos record?

  2. #2
    ranman256's Avatar
    ranman256 is offline VIP
    Windows Vista Access 2010 32bit
    Join Date
    Apr 2014
    Location
    Kentucky
    Posts
    9,525
    normally, you wouldnt. Its not really how access works. There are no line#s.
    But, if you have an index on the record you could pull the 2 records in a query and compare them using the index.

    or if you know VB code,
    pull the current record data, goto the next record, compare the 2.

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

Similar Threads

  1. Replies: 2
    Last Post: 03-30-2014, 11:40 AM
  2. Comparing pairs of records in a query
    By lydonw in forum Queries
    Replies: 2
    Last Post: 08-17-2013, 12:30 AM
  3. Comparing records in 2 tables
    By jlgray0127 in forum Forms
    Replies: 1
    Last Post: 03-16-2012, 01:53 PM
  4. Comparing Records in two (2) Tables.
    By RalphJ in forum Programming
    Replies: 19
    Last Post: 04-19-2011, 02:50 AM
  5. Comparing Like Records
    By JSAKelley in forum Queries
    Replies: 0
    Last Post: 04-16-2011, 05:31 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