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  

border around detail section only



 
 
Thread Tools Display Modes
  #1  
Old November 23rd, 2005, 07:12 PM posted to microsoft.public.access.reports
external usenet poster
 
Posts: n/a
Default border around detail section only

I am currently creating a report and would like to put a border that
encompasses a portion of my page header and all of the the data in the detail
section. My reports will be two pages so the border on the first page will
span most of the page and on the second page it will need to be smaller to
just encompass the few remaining records in the detail section to where the
report ends. Can anyone help with coding that could allow me to create this
type of border including where it needs to be written.

Thanks in advance.

Steel

--
Message posted via AccessMonster.com
http://www.accessmonster.com/Uwe/For...ports/200511/1
  #2  
Old November 23rd, 2005, 09:07 PM posted to microsoft.public.access.reports
external usenet poster
 
Posts: n/a
Default border around detail section only

Assuming that your detail section is a fixed height (doesn't have any
controls with CanGrow set true) then can you just put the left and right
border lines in the detail section and the top and bottom border lines in
group header/footer sections? If you do have controls that can grow then this
won't work, as the left and right border lines would not grow and you would
get gaps in the border.

Jon.

"Steel" wrote:

I am currently creating a report and would like to put a border that
encompasses a portion of my page header and all of the the data in the detail
section. My reports will be two pages so the border on the first page will
span most of the page and on the second page it will need to be smaller to
just encompass the few remaining records in the detail section to where the
report ends. Can anyone help with coding that could allow me to create this
type of border including where it needs to be written.

Thanks in advance.

Steel

--
Message posted via AccessMonster.com
http://www.accessmonster.com/Uwe/For...ports/200511/1

  #3  
Old November 23rd, 2005, 11:15 PM posted to microsoft.public.access.reports
external usenet poster
 
Posts: n/a
Default border around detail section only

What alternative is there? I also need a border (or column lines) between my
detail sections. Right now I need the text boxes to Grow as necessary but
the borders that I placed are outgrown when the text within the detail
increases.

"Jon Ley" wrote:

Assuming that your detail section is a fixed height (doesn't have any
controls with CanGrow set true) then can you just put the left and right
border lines in the detail section and the top and bottom border lines in
group header/footer sections? If you do have controls that can grow then this
won't work, as the left and right border lines would not grow and you would
get gaps in the border.

Jon.

"Steel" wrote:

I am currently creating a report and would like to put a border that
encompasses a portion of my page header and all of the the data in the detail
section. My reports will be two pages so the border on the first page will
span most of the page and on the second page it will need to be smaller to
just encompass the few remaining records in the detail section to where the
report ends. Can anyone help with coding that could allow me to create this
type of border including where it needs to be written.

Thanks in advance.

Steel

--
Message posted via AccessMonster.com
http://www.accessmonster.com/Uwe/For...ports/200511/1

  #4  
Old November 23rd, 2005, 11:33 PM posted to microsoft.public.access.reports
external usenet poster
 
Posts: n/a
Default border around detail section only

You can use the Line method in the detail section's Print
event to draw the vertical lines:

Me.Line (0,0)-(0,30000) will draw a line at the left margin
Me.Line(Me.Width,0)-Step(0,30000) at the right margin
Me.Line(Me.textbox.Left,0)-Step(0,30000) at left of textbox
Me.Line(Me.textbox.Left+Me.textbox.Width,0)-Step(0,30000) at
right edge of textbox



ftrujill0 wrote:
What alternative is there? I also need a border (or column lines) between my
detail sections. Right now I need the text boxes to Grow as necessary but
the borders that I placed are outgrown when the text within the detail
increases.

"Jon Ley" wrote:
Assuming that your detail section is a fixed height (doesn't have any
controls with CanGrow set true) then can you just put the left and right
border lines in the detail section and the top and bottom border lines in
group header/footer sections? If you do have controls that can grow then this
won't work, as the left and right border lines would not grow and you would
get gaps in the border.


"Steel" wrote:
I am currently creating a report and would like to put a border that
encompasses a portion of my page header and all of the the data in the detail
section. My reports will be two pages so the border on the first page will
span most of the page and on the second page it will need to be smaller to
just encompass the few remaining records in the detail section to where the
report ends. Can anyone help with coding that could allow me to create this
type of border including where it needs to be written.

--
Marsh
MVP [MS Access]
 




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
Adjusting the detail section of a report ReggieC Setting Up & Running Reports 5 May 5th, 2005 06:10 PM
Vertical line stretching accross the detail section Beverly76 Setting Up & Running Reports 4 February 5th, 2005 04:29 PM
Need Help Modifying Code to Properly Size Detail Section Vance Setting Up & Running Reports 0 August 17th, 2004 05:09 AM
Need Help Modifying Code to Properly Size Detail Section Vance Setting Up & Running Reports 0 August 17th, 2004 05:08 AM
Making the detail section of a report a set size (regardless of the Number of entries) John Ortt Setting Up & Running Reports 2 July 21st, 2004 02:41 PM


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