Solved

Can I suppress Page 1 of an Access report?

Posted on 2012-03-12
5
229 Views
Last Modified: 2012-03-12
Just curious if I can throw some VBA in the On Load event of an access report to suppress or hide page one. I have a rather unusual (so I think) report where all of my data is in the Report Footer. Because I'm using just the report footer and my data extends more than one page, I'm getting a blank first page. If there is some kind of cancel vba I can put on the report so that it will suppress the first page, that will accomplish my goal perfectly!

Thanks for the help!
0
Comment
Question by:SeyerIT
  • 3
  • 2
5 Comments
 
LVL 57
ID: 37709649
Just set all the other section's visible property to false or set all their heights to 0"

Jim.
0
 
LVL 57

Accepted Solution

by:
Jim Dettman (Microsoft MVP/ EE MVE) earned 500 total points
ID: 37709658
Sorry, should have read that a bit better:

"Because I'm using just the report footer and my data extends more than one page,"

Make sure the footer's KeepTogether property is set to false.

Jim.
0
 
LVL 2

Author Comment

by:SeyerIT
ID: 37709671
Guess I should have mentioned I tried that.. I set all their visibilities to false and set the height to 0..

Do you know if it is possible to connect to my datasource for this report in VBA and keep the report unbound, then I could place all of my sumations, which are currently in the report footer in the detail section?
0
 
LVL 57
ID: 37709697
<<Do you know if it is possible to connect to my datasource for this report in VBA and keep the report unbound, then I could place all of my sumations, which are currently in the report footer in the detail section?>>

Absolutly.

See my second comment though first.

Jim.
0
 
LVL 2

Author Comment

by:SeyerIT
ID: 37709703
Thanks Jim.. That did the trick for that. Just needed to set KeepTogether property to false.
0

Featured Post

Ransomware-A Revenue Bonanza for Service Providers

Ransomware – malware that gets on your customers’ computers, encrypts their data, and extorts a hefty ransom for the decryption keys – is a surging new threat.  The purpose of this eBook is to educate the reader about ransomware attacks.

Question has a verified solution.

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

Regardless of which version on MS Access you are using, one of the harder data-entry forms to create is one where most data from previous entries needs to be appended to new records, especially when there are numerous fields and records involved.  W…
A simple tool to export all objects of two Access files as text and compare it with Meld, a free diff tool.
As developers, we are not limited to the functions provided by the VBA language. In addition, we can call the functions that are part of the Windows operating system. These functions are part of the Windows API (Application Programming Interface). U…
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…

867 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

Need Help in Real-Time?

Connect with top rated Experts

12 Experts available now in Live!

Get 1:1 Help Now