Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Mike Lewis on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Fold marks on a report

Status
Not open for further replies.

lizray

Programmer
May 14, 2008
126
AU
Does anyone know how I could put small fold marks on a report.
 
Add code to On Page event property like:
Code:
Private Sub Report_Page()
    Dim dblVert As Double    [highlight #FCE94F]'where down the page[/highlight]
    dblVert = 1440 * 5       [highlight #FCE94F]'5 inches from top margin. change as needed[/highlight]
    [highlight #FCE94F]'draw lines[/highlight]
    Me.Line (0, 1440 * 5)-Step(200, 0)
    Me.Line (Me.Width - 200, 1440 * 5)-Step(200, 0)
End Sub

Duane
Hook'D on Access
MS Access MVP
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top