PC Review


Reply
Thread Tools Rate Thread

How do I create Vertical line down whole detail section?

 
 
ruperthouse
Guest
Posts: n/a
 
      24th Mar 2010
As the detail section can grow and shrink I want insert my line using On
Print in the property section as per some advise given in another thread (not
started by me). The advisor suggested the code [Me.Line (2.3 * 1440, 0) -
Step(0, 20 * 1440)]
]but I have no idea how or where to insert it. Can anyone help? How do I
create or edit the [event procedure] in On Print in the properties section
 
Reply With Quote
 
 
 
 
Duane Hookom
Guest
Posts: n/a
 
      24th Mar 2010
Open your report in design view and double-click the gray bar above the
detail section. This should display the properties dialog. Click the Event
properties tab. Click the dropdown in the On Print event and select [Event
Procedure]. Then click the [...] button on the right.

You should now be in the code window with these lines already entered for you:

Private Sub GroupHeader2_Print(Cancel As Integer, PrintCount As Integer)

End Sub

Enter the code below between the two lines to draw a vertical line about
2.3" from the left margin.
Me.Line (2.3 * 1440, 0) - Step(0, 20 * 1440)




--
Duane Hookom
Microsoft Access MVP


"ruperthouse" wrote:

> As the detail section can grow and shrink I want insert my line using On
> Print in the property section as per some advise given in another thread (not
> started by me). The advisor suggested the code [Me.Line (2.3 * 1440, 0) -
> Step(0, 20 * 1440)]
> ]but I have no idea how or where to insert it. Can anyone help? How do I
> create or edit the [event procedure] in On Print in the properties section

 
Reply With Quote
Reply

Thread Tools
Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Resizing a vertical line in the detail section Dave C Microsoft Access Reports 3 18th Jan 2009 08:48 PM
Draw continous vertical line in report detail section =?Utf-8?B?RE1M?= Microsoft Access Reports 4 19th Nov 2007 02:32 AM
Draw Vertical line in the report Detail section =?Utf-8?B?SXJzaGFkIEFsYW0=?= Microsoft Access Reports 1 14th Aug 2007 01:20 PM
Vertical line stretching accross the detail section =?Utf-8?B?QmV2ZXJseTc2?= Microsoft Access Reports 4 5th Feb 2005 04:29 PM
vertical line in detail section that extends down to page footer Kent Eilers Microsoft Access Reports 2 28th Jan 2004 02:57 PM


Features
 

Advertising
 

Newsgroups
 


All times are GMT +1. The time now is 05:56 AM.