Go Premium for a chance to win a PS4. Enter to Win

x
?
Solved

MS Access Report

Posted on 2014-07-22
4
Medium Priority
?
376 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
4 Comments
 
LVL 4

Assisted Solution

by:Jack Leach
Jack Leach earned 1000 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 1000 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

Industry Leaders: We Want Your Opinion!

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

Question has a verified solution.

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

Access developers frequently have requirements to interact with Excel (import from or output to) in their applications.  You might be able to accomplish this with the TransferSpreadsheet and OutputTo methods, but in this series of articles I will di…
This article shows how to get a list of available printers for display in a drop-down list, and then to use the selected printer to print an Access report or a Word document filled with Access data, using different syntax as needed for working with …
With Microsoft Access, learn how to specify relationships between tables and set various options on the relationship. Add the tables: Create the relationship: Decide if you’re going to set referential integrity: Decide if you want cascade upda…
Access reports are powerful and flexible. Learn how to create a query and then a grouped report using the wizard. Modify the report design after the wizard is done to make it look better. There will be another video to explain how to put the final p…

824 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