473,795 Members | 3,441 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

Force constant height of details section


Hi folks,

I have an Access report that has an unbound text box in the details
section. The report also includes the standard headers and footers.
The details section is populated by a query executed during the
“Report_Open” event. Depending on the query, the details section can
have 1 or more records and each record is a text string of variable
length (the text box is set to grow).

I’m trying to create the effect of a constant size box around the
details section, regardless of the number of records (and height of
each record). I realize the detail section’s height will be different
on page 1 compared to all subsequent pages due to the report headers,
etc. I draw the left and right vertical lines using the line method.
This works fine. I draw the top line in the page header. This also
works fine. However, the bottom line is a problem.

If I place the bottom line in the page footer, it appears at the
bottom of the page (as expected), but now there is a gap in the
vertical lines between the end of the detail section (if there is not
enough records to fill the page) and the page footer.

If I place the bottom line in the report footer it creates a nice box,
but the box is of variable height depending on the number of records
(the report footer starts immediately after the last record). This is
not ideal for this particular report. I can force the report footer to
the bottom of the page, but this creates the same problem as with the
page footer: a gap in the vertical lines.

To summarize: I would like to force the details section to expand to
fit the entire page (approximately half a page on the first page and
the whole page on subsequent pages) so the vertical lines in the
details section also expand to close the gap between the end of the
records and the page footer.

Of course, they may be a better solution….

Any help or ideas would be very much appreciated.

Cheers,
Peter
Jun 27 '08 #1
0 2198

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

12
7863
by: Robert Mark Bram | last post by:
Howdy All! Is there an easy way to find out the pixel height and width of an image? I want to write IMG tags in this form: <img src="../images/BigM_off.gif" width="173" height="169" name="BigM" alt="Logo Rollover!"> so I am looking for an app or windows thingy that can quickly tell me the height and width of an image. Thanks for any advice!
4
3577
by: John Baker | last post by:
Hi: Stuck on another thing. On a report I am creating, I want to make the detail section one line vertically. However, in design view, I click on the page Footer Bar ,grab it with the "double arrow and cross", and try to move it up and while it moves, as soon as I release it jumps back to its original position. For some reason the property "height" for the detail section is stuck at a minimum of .5833". The height will go LARGER but...
5
18693
by: Kevin Myers | last post by:
How can one obtain obtain the height of a MS Access 2K form? There is a width property, but I don't see a corresponding height property. I need to obtain the height of the form so that I can dynamically resize an object on the form in the form's Form_Resize method when a user resizes the form, both horizontally and vertically. Thanks, s/KAM
4
5387
by: ALESSANDRO Baraldi | last post by:
Hi and Good Sunday. Have i any way to Reduce at Runtime, with no change on Design View, the Height property of Detail_Section on my Report.....? The Section Property is Read_Only but if i encrease one Control inside with ctl.Height>Section.Height automatically the Section adapt the Height
2
2670
by: astro | last post by:
I want to get the numeric named constant value from an ini file. Basically I want to translate a string data type into the named constant value it represents. For example - for SQL-Server replication the sql_merge dll has the following constants for configuring the security mode: DB_AUTHENTICATION, NT_AUTHENTICATION These values are 0, 1 respectively.
3
2354
by: lovecreatesbeauty | last post by:
Both `K&R C, 2nd' and `C: A reference manual, 5th' introduce the "hello, world" thing using the name "string-constant". But `ISO/IEC 9899:TC2' does not include this kind of thing in section `A.1.5 Constants'.
2
4510
by: James Hallam | last post by:
Hi, I'm having trouble getting a conditional force (namely friction) using VB6. I have had no problem using constant or periodic forces. The trouble seems to be that when defining the later you can use... Dim FrictionEffect As DIEFFECT and then just define the details of the force later on, and then use ForceEffect when Starting the force.
34
2174
by: jacob navia | last post by:
Hi I am adding an optimization to lcc-win: sqrt(2.0) will provoke now that the constant 1.4142... etc will be generated instead of generating an actual call. Details: -------
4
2486
by: AAaron123 | last post by:
<body runat="server" id="MainBody"> <form id="form1" runat="server" style="background-color:green; width: 100%; height: 100%"> <br /> Table1" runat="server" Style="background-color:Yellow; width: 100%; height: 90%" BorderColor="Maroon"
0
9672
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However, people are often confused as to whether an ONU can Work As a Router. In this blog post, we’ll explore What is ONU, What Is Router, ONU & Router’s main usage, and What is the difference between ONU and Router. Let’s take a closer look ! Part I. Meaning of...
0
9519
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can effortlessly switch the default language on Windows 10 without reinstalling. I'll walk you through it. First, let's disable language synchronization. With a Microsoft account, language settings sync across devices. To prevent any complications,...
0
10437
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers, it seems that the internal comparison operator "<=>" tries to promote arguments from unsigned to signed. This is as boiled down as I can make it. Here is my compilation command: g++-12 -std=c++20 -Wnarrowing bit_field.cpp Here is the code in...
0
10001
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each protocol has its own unique characteristics and advantages, but as a user who is planning to build a smart home system, I am a bit confused by the choice of these technologies. I'm particularly interested in Zigbee because I've heard it does some...
0
6780
by: conductexam | last post by:
I have .net C# application in which I am extracting data from word file and save it in database particularly. To store word all data as it is I am converting the whole word file firstly in HTML and then checking html paragraph one by one. At the time of converting from word file to html my equations which are in the word document file was convert into image. Globals.ThisAddIn.Application.ActiveDocument.Select();...
0
5563
by: adsilva | last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
1
4113
by: 6302768590 | last post by:
Hai team i want code for transfer the data from one system to another through IP address by using C# our system has to for every 5mins then we have to update the data what the data is updated we have to send another system
2
3723
muto222
by: muto222 | last post by:
How can i add a mobile payment intergratation into php mysql website.
3
2920
bsmnconsultancy
by: bsmnconsultancy | last post by:
In today's digital era, a well-designed website is crucial for businesses looking to succeed. Whether you're a small business owner or a large corporation in Toronto, having a strong online presence can significantly impact your brand's success. BSMN Consultancy, a leader in Website Development in Toronto offers valuable insights into creating effective websites that not only look great but also perform exceptionally well. In this comprehensive...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.