Solved

Can I suppress Page 1 of an Access report?

Posted on 2012-03-12
5
226 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

Expert Comment

by:Jim Dettman (Microsoft MVP/ EE MVE)
Comment Utility
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
Comment Utility
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
Comment Utility
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

Expert Comment

by:Jim Dettman (Microsoft MVP/ EE MVE)
Comment Utility
<<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
Comment Utility
Thanks Jim.. That did the trick for that. Just needed to set KeepTogether property to false.
0

Featured Post

Get up to 2TB FREE CLOUD per backup license!

An exclusive Black Friday offer just for Expert Exchange audience! Buy any of our top-rated backup solutions & get up to 2TB free cloud per system! Perform local & cloud backup in the same step, and restore instantly—anytime, anywhere. Grab this deal now before it disappears!

Join & Write a Comment

QuickBooks® has a great invoice interface that we were happy with for a while but that changed in 2001 through no fault of Intuit®. Our industry's unit names are dictated by RUS: the Rural Utilities Services division of USDA. Contracts contain un…
A simple tool to export all objects of two Access files as text and compare it with Meld, a free diff tool.
In Microsoft Access, learn how to use Dlookup and other domain aggregate functions and one method of specifying a string value within a string. Specify the first argument, which is the expression to be returned: Specify the second argument, which …
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…

744 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

17 Experts available now in Live!

Get 1:1 Help Now