A similar question to mine was asked before with one reply back in 2006. I tried to use the information provided but was unable to make it work.
I created a database to print out a report that is the same as the original hand written form. The problem I'm running into with this report is when the last record prints and there are no more additional lines (i.e. if the document has 15 lines to be filled out, and if I print
from Access with only 10 records entered, 10 lines is all I get.).
I'd like to complete the additional lines using empty records (5 records per the previous example) since there are many times we will need to add information to the report by hand after it has been printed and we will need the lines.
here is what I was attempting to use from a previous post.
Any help would be much appreciated.
Thanks!
I created a database to print out a report that is the same as the original hand written form. The problem I'm running into with this report is when the last record prints and there are no more additional lines (i.e. if the document has 15 lines to be filled out, and if I print
from Access with only 10 records entered, 10 lines is all I get.).
I'd like to complete the additional lines using empty records (5 records per the previous example) since there are many times we will need to add information to the report by hand after it has been printed and we will need the lines.
here is what I was attempting to use from a previous post.
Code:
Private Sub GroupHeader0_Format(Cancel As Integer, FormatCount As Integer) If Me.MoveCount < intLineCnt Then Me.MoveLayout = True Me.PrintSection = False Me.NextRecord = False Me.MoveCount = Me.MoveCount + 1 Else Me.MoveLayout = True Me.PrintSection = True Me.NextRecord = True End If End Sub Private Sub PageHeader_Format(Cancel As Integer, FormatCount As Integer) Me.MoveCount = 0 intLineCnt = CalcLinesToMove() End Sub
Thanks!
Comment