M
Ms. Confused
Hi All,
I've used this code from Dwayne:
Private Sub Report_Page()
Dim intNumLines As Integer
Dim intLineNumber As Integer
Dim intTopMargin As Integer
Dim ctl As Control
Dim intLineHeight As Integer
intNumLines = 12
intTopMargin = Me.Section(3).Height
intLineHeight = Me.Section(0).Height
For Each ctl In Me.Section(0).Controls
For intLineNumber = 0 To intNumLines - 1
Me.Line (ctl.Left, intTopMargin + _
(intLineNumber * intLineHeight)) - _
Step(ctl.Width, intLineHeight), , B
Next
Next
End Sub
My report needs to print blank rows (at least 12) after the last data is
printed. We have walk in clients that needs to be added in all our class
subjects in school.
I did put this on the event at "On Page", but it always print eventhough
there is data instead of printing after the last record. I am now looking at
blank rows on top of my data. All the remaining pages looks good though.
Please help.
Thanks.
Ms. Confused
I've used this code from Dwayne:
Private Sub Report_Page()
Dim intNumLines As Integer
Dim intLineNumber As Integer
Dim intTopMargin As Integer
Dim ctl As Control
Dim intLineHeight As Integer
intNumLines = 12
intTopMargin = Me.Section(3).Height
intLineHeight = Me.Section(0).Height
For Each ctl In Me.Section(0).Controls
For intLineNumber = 0 To intNumLines - 1
Me.Line (ctl.Left, intTopMargin + _
(intLineNumber * intLineHeight)) - _
Step(ctl.Width, intLineHeight), , B
Next
Next
End Sub
My report needs to print blank rows (at least 12) after the last data is
printed. We have walk in clients that needs to be added in all our class
subjects in school.
I did put this on the event at "On Page", but it always print eventhough
there is data instead of printing after the last record. I am now looking at
blank rows on top of my data. All the remaining pages looks good though.
Please help.
Thanks.
Ms. Confused