Results 1 to 3 of 3
  1. #1
    murry is offline Novice
    Windows XP Access 2007
    Join Date
    Mar 2012
    Posts
    9

    Help getting the most recent value

    This has been posted many times on here before, and the page (http://www.baldyweb.com/LastValue.htm) is always given as the solution. I want to do what that page is describing, but I'm very new to Access and I don't understand the page is saying. I am tracking thermometer calibration and their location when they are in service, and want to be able to find the current location. Could someone please explain step by step where the information goes, and what each value means (i.e VehicleMiles.DorDate, AS MaxDate, and VehicleMiles.CarNum). I'm not sure what are access terms and what the code is using from the theoretical table. Thanks in advance.

  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
    The example shows two query statements. Use query designer to build queries. View the statements in SQL view.

    VehicleMiles is table name.

    qryMaxDates is name of the first query.

    DorDate and CarNum are fields in table.

    MaxDate is an alias name existing only in the query.

    Max() is an aggregate function. Refer to Access Help for guidance on aggregate (Totals) queries.

    All the uppercase words are SQL terms.

    * is a wildcard.

    Don't know your data so can't say what substitutions you should do.
    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.

  3. #3
    murry is offline Novice
    Windows XP Access 2007
    Join Date
    Mar 2012
    Posts
    9
    Thank you so much. Just knowing to go to SQL view makes it make since. Thanks.

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

Similar Threads

  1. Search for most recent
    By covesounds in forum Forms
    Replies: 1
    Last Post: 08-07-2012, 10:51 AM
  2. Choose the row with the MOST RECENT date
    By taimysho0 in forum Queries
    Replies: 1
    Last Post: 05-14-2012, 02:35 PM
  3. Help with most recent 2 weeks query.
    By tplee in forum Queries
    Replies: 7
    Last Post: 11-30-2011, 08:05 PM
  4. Most recent data in query
    By LisaEllen in forum Queries
    Replies: 4
    Last Post: 09-14-2011, 09:20 PM
  5. most recent entries
    By tom4038 in forum Queries
    Replies: 0
    Last Post: 09-14-2009, 04:41 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