Smart questions
Smart answers
Smart people
INTELLIGENT WORK FORUMS
FOR COMPUTER PROFESSIONALS

Member Login

Come Join Us!

Are you a
Computer / IT professional?
Join Tek-Tips now!
  • Talk With Other Members
  • Be Notified Of Responses
    To Your Posts
  • Keyword Search
  • One-Click Access To Your
    Favorite Forums
  • Automated Signatures
    On Your Posts
  • Best Of All, It's Free!

Join Tek-Tips
*Tek-Tips's functionality depends on members receiving e-mail. By joining you are opting in to receive e-mail.

LINK TO THIS FORUM!

Add Stickiness To Your Site By Linking To This Professionally Managed Technical Forum.
Just copy and paste the
code below into your site.

Partner With Us!

"Best Of Breed" Forums Add Stickiness To Your Site
Partner Button
(Download This Button Today!)

Feedback

"...I've learned more from your forums in 3 days than 3 months at school and on the job combined..."

Geography

Where in the world do Tek-Tips members come from?

Force Report *Header* to Bottom of First Page

WinsomeMinotaur (IS/IT--Management)
14 May 12 17:36
Hi all. I actually found a question with a similar title, but it turned out to be mis-titled (they actually wanted to manipulate the report footer, not header). So, I really AM talking about the header. I have a page footer already, but I have a bunch of checkboxes and stuff I want to included at the bottom of the first page only. I *would* just place it on the page itself, but there are expanding text fields in the detail section that may push my checkboxes onto the second page, and they MUST stay at the bottom of the first page. I thought there might be a simple way to force the report header to the bottom of the page and my problem would be solved (or I guess force the report footer onto the first page, but that sounds more difficult). Any ideas would be welcome!
dhookom (Programmer)
15 May 12 0:51
Have you considered placing your expanding text fields in a subreport and sticking you bunch of checkboxes and stuff in the detail or some other section?

Duane
Hook'D on Access
MS Access MVP

WinsomeMinotaur (IS/IT--Management)
15 May 12 12:03
Unfortunately this needs to be printed, so having the text fields in a subform will not help. That is to say, keeping the text contained is not an option, as it all needs to be printed. A single text box might fill up most of the first page and spill onto the second, which is fine as long I keep the section I need at the bottom of the first page for signatures and check boxes.
dhookom (Programmer)
15 May 12 12:54
I didn't mention anything about "subform" or not printing stuff. I simply suggested that you might consider using a subreport to display some of the information within a report in order to meet your requirements.

You can also use code to dynamically print information in a report. For instance, create a blank report with a detail section height of at least 6". Then add code like:

CODE

Private Sub Detail_Print(Cancel As Integer, PrintCount As Integer) Dim intI Me.CurrentX = 0 'left margin Me.CurrentY = 1440 * 5 'five inches from top of section For intI = 1 To 6 Me.CurrentY = 1440 * 5 Me.FontName = "wingdings" Me.Print " þ" Me.CurrentY = 1440 * 5 Me.FontName = "Arial" Me.Print " " & MonthName(intI) Next Me.CurrentX = 0 For intI = 7 To 12 Me.CurrentY = 1440 * 5.3 Me.FontName = "wingdings" Me.Print " þ" Me.CurrentY = 1440 * 5.3 Me.FontName = "Arial" Me.Print " " & MonthName(intI) Next End Sub
Then view this in print preview to see the month names and check boxes.

Duane
Hook'D on Access
MS Access MVP

Reply To This Thread

Posting in the Tek-Tips forums is a member-only feature.

Click Here to join Tek-Tips and talk with other members!

Close Box

Join Tek-Tips® Today!

Join your peers on the Internet's largest technical computer professional community.
It's easy to join and it's free.

Here's Why Members Love Tek-Tips Forums:

Register now while it's still free!

Already a member? Close this window and log in.

Join Us             Close