Results 1 to 2 of 2
  1. #1
    jyellis is offline Novice
    Windows 7 32bit Access 2010 32bit
    Join Date
    Oct 2012
    Posts
    20

    Query the last 3 records entered

    TableMaster

    Fields
    ID, FName, LName, Region



    TableMileage


    Fields
    ID, Vehicle, Mileage

    One to many relationship setup with tables never being sorted.


    Results returned: the last 3 milege numbers entered for each ID # (person)

    Results returned:

    By Region, then by LName, then the last 3 mileage records entered.


    So each ID record will have up to 3 records return in query. (If an ID only has 2 then return the 2 records.)

    Thank you.

  2. #2
    orange's Avatar
    orange is offline Moderator
    Windows XP Access 2003
    Join Date
    Sep 2009
    Location
    Ottawa, Ontario, Canada; West Palm Beach FL
    Posts
    16,870

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

Similar Threads

  1. Replies: 20
    Last Post: 09-04-2012, 10:56 AM
  2. Replies: 2
    Last Post: 08-15-2012, 02:21 AM
  3. Replies: 1
    Last Post: 07-26-2012, 10:51 AM
  4. Replies: 3
    Last Post: 12-01-2011, 06:51 AM
  5. Replies: 2
    Last Post: 06-23-2011, 03:35 AM

Tags for this Thread

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