Results 1 to 2 of 2
  1. #1
    CurtisHight is offline Novice
    Windows 7 64bit Access 2010 32bit
    Join Date
    Nov 2013
    Location
    North Pacific
    Posts
    5

    query for most recent status


    I have a table tracking the historical "actions" (activate/deactivate/surplus) of a workshop, and in another table I have an "inventory" of (a fixed number of) pager IDs (and other tables tracking other inventories (cell phones etc.), all of which have been worked on by the workshop over time). In the "pager ID table" I need to query the historical "actions table" for the most recent "action" for each "pager ID" and then show that (status) on my "pager ID form".

    What is the most effective approach? (and the happiest Thanksgiving to good answers:-)

  2. #2
    June7's Avatar
    June7 is offline VIP
    Windows 7 64bit Access 2010 32bit
    Join Date
    May 2011
    Location
    The Great Land
    Posts
    53,631
    For one method, review http://allenbrowne.com/subquery-01.html#TopN

    Other methods involve use of domain aggregate functions.
    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. Query Latest Status
    By joejambul in forum Queries
    Replies: 1
    Last Post: 10-03-2013, 02:39 AM
  2. Replies: 4
    Last Post: 06-20-2013, 10:26 PM
  3. Most recent cost query
    By nigelbloomy in forum Queries
    Replies: 9
    Last Post: 07-12-2012, 02:41 PM
  4. Help with most recent 2 weeks query.
    By tplee in forum Queries
    Replies: 7
    Last Post: 11-30-2011, 08:05 PM
  5. Most recent data in query
    By LisaEllen in forum Queries
    Replies: 4
    Last Post: 09-14-2011, 09:20 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