A Microsoft Office (Excel, Word) forum. OfficeFrustration

If this is your first visit, be sure to check out the FAQ by clicking the link above. You may have to register before you can post: click the register link above to proceed. To start viewing messages, select the forum that you want to visit from the selection below.

Go Back   Home » OfficeFrustration forum » Microsoft Access » Setting Up & Running Reports
Site Map Home Register Authors List Search Today's Posts Mark Forums Read  

Draw Vertical line in the report Detail section



 
 
Thread Tools Display Modes
  #1  
Old August 14th, 2007, 06:24 AM posted to microsoft.public.access.reports
Irshad Alam
external usenet poster
 
Posts: 44
Default Draw Vertical line in the report Detail section

I want to draw a Vertical Line in the Report details section at about 6 Inch.

I tried to do but it effects the Detail section record, I mean each Record
line of detail section get the line repeated. If there is seven Record line
in the detail section, it takes 7 times the 6 inch line and exapands into
many pages.

My need to draw a vertical line at the LHS side of the report of about 6
inch, the same in the RHS side. BUT it should not effect the detail section
records.

Please advise

Thanks and best regards.

Irshad

  #2  
Old August 14th, 2007, 01:20 PM posted to microsoft.public.access.reports
Duane Hookom
external usenet poster
 
Posts: 7,177
Default Draw Vertical line in the report Detail section

You can use code in the On Page event of the report. This code will draw
lines from the top of the page down 6" on both the left and right sides.

Private Sub Report_Page()
Me.Line (0, 0)-Step(0, 1440 * 6)
Me.Line (Me.Width, 0)-Step(0, 1440 * 6)
End Sub

--
Duane Hookom
Microsoft Access MVP


"Irshad Alam" wrote:

I want to draw a Vertical Line in the Report details section at about 6 Inch.

I tried to do but it effects the Detail section record, I mean each Record
line of detail section get the line repeated. If there is seven Record line
in the detail section, it takes 7 times the 6 inch line and exapands into
many pages.

My need to draw a vertical line at the LHS side of the report of about 6
inch, the same in the RHS side. BUT it should not effect the detail section
records.

Please advise

Thanks and best regards.

Irshad

 




Thread Tools
Display Modes

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

vB code is On
Smilies are On
[IMG] code is Off
HTML code is Off
Forum Jump


All times are GMT +1. The time now is 08:45 PM.


Powered by vBulletin® Version 3.6.4
Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.
Copyright ©2004-2024 OfficeFrustration.
The comments are property of their posters.