Results 1 to 2 of 2
  1. #1
    theworm is offline Novice
    Windows XP Access 2007
    Join Date
    Apr 2010
    Posts
    7

    Help with this query, Thanks

    Can anybody help me out with this. here is my query, which works.



    SELECT Entry.FullName, Entry.ClassTaken, Entry.Datetaken, Entry.DateExpires, Entry.NowCertified, Entry.Passyeswritten

    FROM EMP INNER JOIN Entry ON EMP.FullName=Entry.FullName

    WHERE entry.dateexpires>date() And emp.activeno=False;

    This will return all of the records that I would expect, what I would like to have happen is to have only the most recent class taken returned. For example, there could be a user that has been certifed on an item over the last 3 years and this would return all 3 of those records. I would like to have only the most recent classtaken returned in the query.

    Thanks for any 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,523
    Paul (wino moderator)
    MS Access MVP 2007-2019
    www.BaldyWeb.com

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

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