Solved

MS Access Report

Posted on 2014-07-22
4
354 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 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 57
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

Active Directory Webinar

We all know we need to protect and secure our privileges, but where to start? Join Experts Exchange and ManageEngine on Tuesday, April 11, 2017 10:00 AM PDT to learn how to track and secure privileged users in Active Directory.

Question has a verified solution.

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

Not long ago I saw a question in the VB Script forum that I thought would not take much time. You can read that question (Question ID  (http://www.experts-exchange.com/Programming/Languages/Visual_Basic/VB_Script/Q_28455246.html)28455246) Here (http…
It’s been over a month into 2017, and there is already a sophisticated Gmail phishing email making it rounds. New techniques and tactics, have given hackers a way to authentically impersonate your contacts.How it Works The attack works by targeti…
Basics of query design. Shows you how to construct a simple query by adding tables, perform joins, defining output columns, perform sorting, and apply criteria.
Polish reports in Access so they look terrific. Take yourself to another level. Equations, Back Color, Alternate Back Color. Write easy VBA Code. Tighten space to use less pages. Launch report from a menu, considering criteria only when it is filled…

830 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