Results 1 to 4 of 4
  1. #1
    messier is offline Novice
    Windows 10 Access 2016
    Join Date
    Mar 2020
    Posts
    18

    Display Correct As Of Column


    I have 2 tables

    Table 1: Student Name: Registered Date: Index Number
    Table 2: Index Number: Address: Mobile


    My Query
    Correct As At Date: Registered Date: Student Name: Index No: Mobile


    For the above 5 columns, while the Registered date will be different in each row based on the student, i want the correct as at date to display the Max of Registered date.

    in excel - it would be =Max(Registered Date) for each row.
    How do I do this?

  2. #2
    kd2017 is offline Well, I tried at least.
    Windows 10 Access 2016
    Join Date
    Jul 2017
    Posts
    1,142

  3. #3
    Gicu's Avatar
    Gicu is online now VIP
    Windows 10 Access 2010 32bit
    Join Date
    Jul 2015
    Location
    Kelowna, BC, Canada
    Posts
    4,114
    You could create another totals query in which you group by student number and get the max of registration date, then join that into your original (by student number). Or you could use a subgueery. Or domain aggregate (the slowest option) like dMax.

    Cheers,
    Vlad Cucinschi
    MS Access Developer
    http://forestbyte.com/

  4. #4
    messier is offline Novice
    Windows 10 Access 2016
    Join Date
    Mar 2020
    Posts
    18
    Thank you!

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

Similar Threads

  1. To display the correct Date from the given data
    By kanchanj88 in forum Queries
    Replies: 5
    Last Post: 11-17-2015, 11:37 PM
  2. Replies: 14
    Last Post: 07-13-2015, 12:47 PM
  3. Display correct formatting on form.
    By chrisfl in forum Forms
    Replies: 6
    Last Post: 05-23-2013, 08:20 AM
  4. Replies: 2
    Last Post: 01-17-2013, 01:25 AM
  5. Replies: 1
    Last Post: 12-08-2011, 08:03 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