Results 1 to 4 of 4
  1. #1
    sumukhreddy is offline Novice
    Windows 7 32bit Access 2010 32bit
    Join Date
    Mar 2016
    Posts
    5

    how to choose the last row in a report?

    Click image for larger version. 

Name:	Capture.PNG 
Views:	16 
Size:	8.6 KB 
ID:	24120

    hi all,

    I've one question in reporting. I want to create a report from one query. The query result is as shown in the screenshot. In my report i only need the headings (filed names) and the last row (i.e., total row). How can i do that? is there any process? please help me.


    Thanks a lot for your help.

  2. #2
    JoeM is offline VIP
    Windows 7 32bit Access 2007
    Join Date
    Jun 2012
    Posts
    3,904
    Simply make an Aggregate (Totals) Query (where you are taking the COUNT and AVERAGE of those fields), and base your Report on that.
    It will just have one record if you create the Aggregate Query correctly, so your Report will just have the one record that you want.

    I don't know if you have any other criteria, but that Aggregate Query will look something like:
    Code:
    SELECT Count([SUB DATE]), Avg([TIME SPENT])
    FROM Table1;

  3. #3
    NTC is offline VIP
    Windows 7 64bit Access 2013
    Join Date
    Nov 2009
    Posts
    2,392
    Your post is somewhat subject to interpretation. If you seek a different record source then the advice by JoeM. On the otherhand if you already have a report with a detail section and the field titles in the header and summary math in the footer - then you can make the detail section not visible.

  4. #4
    sumukhreddy is offline Novice
    Windows 7 32bit Access 2010 32bit
    Join Date
    Mar 2016
    Posts
    5

    Thanks

    Quote Originally Posted by JoeM View Post
    Simply make an Aggregate (Totals) Query (where you are taking the COUNT and AVERAGE of those fields), and base your Report on that.
    It will just have one record if you create the Aggregate Query correctly, so your Report will just have the one record that you want.

    I don't know if you have any other criteria, but that Aggregate Query will look something like:
    Code:
    SELECT Count([SUB DATE]), Avg([TIME SPENT])
    FROM Table1;

    Thank you very much for your help. I resolved it.

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

Similar Threads

  1. choose which report to run based on the record
    By manwe_sulimo in forum Programming
    Replies: 6
    Last Post: 01-10-2016, 04:44 AM
  2. Choose Parameter combo box for report
    By RobRay in forum Reports
    Replies: 10
    Last Post: 08-10-2011, 02:48 PM
  3. Choose whether to display empty fields in a report
    By exoticdisease in forum Access
    Replies: 1
    Last Post: 08-18-2010, 09:12 AM
  4. Automatically choose which report?
    By Lockrin in forum Reports
    Replies: 2
    Last Post: 12-28-2009, 02:41 PM
  5. How do I choose multiple records for a report
    By admaldo in forum Reports
    Replies: 2
    Last Post: 03-03-2006, 06:02 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