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  

how to draw a vertical line for sections that can grow



 
 
Thread Tools Display Modes
  #1  
Old August 12th, 2005, 07:02 PM
mhmaid
external usenet poster
 
Posts: n/a
Default how to draw a vertical line for sections that can grow

some of my reports can grow in some fields. so not all information will be
displayed if i shoose to put borders . so i need a code to sort out this
problem


  #2  
Old August 12th, 2005, 09:51 PM
Duane Hookom
external usenet poster
 
Posts: n/a
Default

Assuming you have a text box in your section named txtBox, you can add code
to the section's On Format event like:

Private Sub Detail_Format(Cancel As Integer, FormatCount As Integer)
Me.Line (Me.txtBox.Left, 0)-Step(0, 10000)
End Sub

This code will draw a vertical line on the left side of the text box.
--
Duane Hookom
MS Access MVP


"mhmaid" wrote in message
...
some of my reports can grow in some fields. so not all information will be
displayed if i shoose to put borders . so i need a code to sort out this
problem




 




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

Similar Threads
Thread Thread Starter Forum Replies Last Post
Annoying vertical line in emails Doug Kanter Outlook Express 26 April 24th, 2005 01:36 PM
Annoying vertical line in emails Doug Kanter Outlook Express 1 April 23rd, 2005 03:15 AM
How do I resize the insertion point line (vertical line) in Word . J.K. August General Discussion 6 December 23rd, 2004 06:56 PM
How to draw a line accross sections? John New Users 1 October 1st, 2004 12:50 AM
'Draw ' a line Linda General Discussion 2 September 24th, 2004 08:06 PM


All times are GMT +1. The time now is 04:03 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.