Records position in hardcopy form

J

Jon

I have a report that it will be printed on ready hardcopy form. I adjust the
records based on the form rows high and width. The records are divided each 5
will be in a different page. The first five records are well printed in the
same position, but the reset are not be in the correct position in the next
pages . My question is how to enforce the records in the 2,3…. Pages to be
printed in different scale in the forms?
 
D

Douglas J. Steele

Is there a Report header? It would appear on the first page only, so that it
would be different than subsequent pages.
 
J

Jon

Yes there is a header, please explain

Douglas J. Steele said:
Is there a Report header? It would appear on the first page only, so that it
would be different than subsequent pages.
 
J

Jon

Is there any code that it makes the margin (vertical) of page 2,3… to be
increased?
 
D

Douglas J. Steele

Report headers only appear on the first page. Page headers apper on each
page. If the first page is displaying a report header, that means that the
first row of the detail section will be lower on that page than on
subsequent pages.

There's no way to change the margins while the report's rendering. Just
remove the Report header and put the details in the Page header. You can
toggle the visibility of specific text boxes based on the page number if you
like. The trick, though, is ensuring that text boxes take the same amount of
room on each page.
 
J

Jon

Hi Douglas,
would you please explain how to do "You can
toggle the visibility of specific text boxes based on the page number if you
ike. The trick, though, is ensuring that text boxes take the same amount of
room on each page."
 
Y

yuyuyuuyuiiu

Jon said:
I have a report that it will be printed on ready hardcopy form. I adjust
the
records based on the form rows high and width. The records are divided
each 5
will be in a different page. The first five records are well printed in
the
same position, but the reset are not be in the correct position in the
next
pages . My question is how to enforce the records in the 2,3…. Pages to be
printed in different scale in the forms?
 
D

Douglas J. Steele

Hmm. Could have sworn I answered this yesterday...

Make sure you have a control on the page that displays the page number, even
if that control isn't visible (Access doesn't bother to keep track of pages
if you don't use the Page feature)

In the Format event of the ReportHeader, use code like:

Private Sub ReportHeader_Format(Cancel As Integer, FormatCount As Integer)

Me!txtFieldThatShouldOnlyShowOnTheFirstPage.Visible = (Me.Page = 1)
Me!txtFieldThatShouldOnlyShowOnSubsequentPages.Visible = (Me.Page <> 1)

End Sub
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top