Solved

MS Access Report

Posted on 2014-07-22
4
363 Views
Last Modified: 2014-07-23
I would like to hide the detail section of the report. Is there any VBA that I can use? I want to keep the header and totals on the report footer. thanks
0
Comment
Question by:snhandle
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
4 Comments
 
LVL 4

Assisted Solution

by:Jack Leach
Jack Leach earned 250 total points
ID: 40213399
I guess you could set the detail height to 0 (and any controls also), but... why not run a query that gets you the same values as the footer would display, and use those in the detail instead?
0
 
LVL 22

Accepted Solution

by:
Kelvin Sparks earned 250 total points
ID: 40213407
Look for the report On Format event and try
Me.Detail.Visible=False

Kelvin
0
 

Author Closing Comment

by:snhandle
ID: 40213466
Good
0
 
LVL 58
ID: 40213956
Besides just setting the property to false at design time, you can set the detail's visible property on the fly too...I do this often when I want to give a user a choice between a summary and detail report (like a G/L Trial Balance).

Jim.
0

Featured Post

SharePoint Admin?

Enable Your Employees To Focus On The Core With Intuitive Onscreen Guidance That is With You At The Moment of Need.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

You need to know the location of the Office templates folder, so that when you create new templates, they are saved to that location, and thus are available for selection when creating new documents.  The steps to find the Templates folder path are …
In Part II of this series, I will discuss how to identify all open instances of Excel and enumerate the workbooks, spreadsheets, and named ranges within each of those instances.
In Microsoft Access, learn the trick to repeating sub-report headings at the top of each page. The problem with sub-reports and headings: Add a dummy group to the sub report using the expression =1: Set the “Repeat Section” property of the dummy…
With Secure Portal Encryption, the recipient is sent a link to their email address directing them to the email laundry delivery page. From there, the recipient will be required to enter a user name and password to enter the page. Once the recipient …

632 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question