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  

Line between columns



 
 
Thread Tools Display Modes
  #1  
Old August 11th, 2005, 05:10 PM
sduffield2
external usenet poster
 
Posts: n/a
Default Line between columns

In my report detail view, I drew a line to the left of the fields. When I
view the report it puts the line between the columns and an extra one off on
the right margin. Is there another way to do this that would make the line
part of the page setup rather than the "detail" portion of the report?

I ask because while I can accept the extra line on the right margin, some of
my fields have wrapped text. As the line is only set to be the height of the
orignial field, it means that the line between columns often has breaks in it
as it goes down the page.

Any ideas would help!
  #2  
Old August 11th, 2005, 05:40 PM
Allen Browne
external usenet poster
 
Posts: n/a
Default

It will probably be easier to draw the line programmatically.

Use the Line statement in the Page event procedure of the report.

--
Allen Browne - Microsoft MVP. Perth, Western Australia.
Tips for Access users - http://allenbrowne.com/tips.html
Reply to group, rather than allenbrowne at mvps dot org.

"sduffield2" wrote in message
...
In my report detail view, I drew a line to the left of the fields. When I
view the report it puts the line between the columns and an extra one off
on
the right margin. Is there another way to do this that would make the
line
part of the page setup rather than the "detail" portion of the report?

I ask because while I can accept the extra line on the right margin, some
of
my fields have wrapped text. As the line is only set to be the height of
the
orignial field, it means that the line between columns often has breaks in
it
as it goes down the page.

Any ideas would help!



  #3  
Old August 11th, 2005, 07:22 PM
sduffield2
external usenet poster
 
Posts: n/a
Default

(VBA's all new, so forgive if this is a newbie question)

Is it really the page event? I only want the line between columns in the
detail section of the report. Headings and Footers don't need to be slit.

"Allen Browne" wrote:

It will probably be easier to draw the line programmatically.

Use the Line statement in the Page event procedure of the report.

--
Allen Browne - Microsoft MVP. Perth, Western Australia.
Tips for Access users - http://allenbrowne.com/tips.html
Reply to group, rather than allenbrowne at mvps dot org.

"sduffield2" wrote in message
...
In my report detail view, I drew a line to the left of the fields. When I
view the report it puts the line between the columns and an extra one off
on
the right margin. Is there another way to do this that would make the
line
part of the page setup rather than the "detail" portion of the report?

I ask because while I can accept the extra line on the right margin, some
of
my fields have wrapped text. As the line is only set to be the height of
the
orignial field, it means that the line between columns often has breaks in
it
as it goes down the page.

Any ideas would help!




  #4  
Old August 12th, 2005, 02:27 AM
Allen Browne
external usenet poster
 
Posts: n/a
Default

The Page Header and Page Footer sections are fixed height, i.e. they do not
have Can Grow or Can Shrink properties. Therefore you can calculate at
design time where the line should start (below the Page Header) and where it
should end (above the Page Footer.)

Or perhaps you have group headers/footers interspersed throughout the page,
and you don't want the vertical line to slice through them? If so the Page
event is not suitable. Stephen Lebans has a routine for drawing the lines
like that at:
http://www.lebans.com/PrintLines.htm
I'm not sure how you would hide them at the right margin though.

--
Allen Browne - Microsoft MVP. Perth, Western Australia.
Tips for Access users - http://allenbrowne.com/tips.html
Reply to group, rather than allenbrowne at mvps dot org.

"sduffield2" wrote in message
...
(VBA's all new, so forgive if this is a newbie question)

Is it really the page event? I only want the line between columns in the
detail section of the report. Headings and Footers don't need to be slit.

"Allen Browne" wrote:

It will probably be easier to draw the line programmatically.

Use the Line statement in the Page event procedure of the report.

"sduffield2" wrote in message
...
In my report detail view, I drew a line to the left of the fields.
When I
view the report it puts the line between the columns and an extra one
off
on
the right margin. Is there another way to do this that would make the
line
part of the page setup rather than the "detail" portion of the report?

I ask because while I can accept the extra line on the right margin,
some
of
my fields have wrapped text. As the line is only set to be the height
of
the
orignial field, it means that the line between columns often has breaks
in
it
as it goes down the page.

Any ideas would help!



 




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
double window envelope tpdebronsky Page Layout 4 May 17th, 2005 07:34 AM
(Un) join line segments ajfisher98 Visio 2 April 15th, 2005 11:43 PM
"UN"-JOIN LINE SEGMENTS!!!! ajfisher98 Visio 0 April 15th, 2005 02:54 AM
WRAP a text line over several columns without merging cells Conrad S Worksheet Functions 1 March 22nd, 2005 03:52 AM
Column break adds a line Dano O'D General Discussion 2 November 11th, 2004 10:15 PM


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