473,695 Members | 3,241 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

Report formatting

I am having problems formatting an Access 2003 report which is trivial
in the extreme (tabular layout, 9 fields from 1 table per row in the
detail section, no groups/totals).

One field (only) in the row can be longer than its text-box on rare
occasions, so I've made the text-box and detail section CanGrow
properties = Yes. This has had one positive effect - the occasional
long field now displays correctly, split over 2 rows - but also a very
negative effect - the majority short values in that field are also
split over 2 rows when they were happily fitting in a single row
before the property change, and even where the field is null the row
takes up twice the vertical space it did before.

In summary, a 24-page report has now become 43 pages.

Any ideas what could be wrong, or is this a 'facility'? ;-)

Dave

Aug 8 '07 #1
4 2732
On Wed, 08 Aug 2007 09:40:56 -0700, D.*****@ed.ac.u k wrote:
I am having problems formatting an Access 2003 report which is trivial
in the extreme (tabular layout, 9 fields from 1 table per row in the
detail section, no groups/totals).

One field (only) in the row can be longer than its text-box on rare
occasions, so I've made the text-box and detail section CanGrow
properties = Yes. This has had one positive effect - the occasional
long field now displays correctly, split over 2 rows - but also a very
negative effect - the majority short values in that field are also
split over 2 rows when they were happily fitting in a single row
before the property change, and even where the field is null the row
takes up twice the vertical space it did before.

In summary, a 24-page report has now become 43 pages.

Any ideas what could be wrong, or is this a 'facility'? ;-)

Dave
I'm not sure I understand what you would like to happen.
If the control grows, where would you expect it to grow to?
It has to go down. If it goes down, the next record is also moved down
proportionately . .
Perhaps you would be satisfied by moving this one control to the end
of your record's data, so that the other controls (for that record)
precede this one. They will all appear on the same line and just this
one control will grow.
The next record will be moved downward from the end of the can grow
control.
If I've miss-understood you, please post back.

--
Fred
Please respond only to this newsgroup.
I do not reply to personal e-mail
Aug 8 '07 #2
Have you got all the controls and section set to CanGrow, and most
importantly CanShrink set to YES?

Phil
"fredg" <fg******@examp le.invalidwrote in message
news:1e******** *************** *******@40tude. net...
On Wed, 08 Aug 2007 09:40:56 -0700, D.*****@ed.ac.u k wrote:
>I am having problems formatting an Access 2003 report which is trivial
in the extreme (tabular layout, 9 fields from 1 table per row in the
detail section, no groups/totals).

One field (only) in the row can be longer than its text-box on rare
occasions, so I've made the text-box and detail section CanGrow
properties = Yes. This has had one positive effect - the occasional
long field now displays correctly, split over 2 rows - but also a very
negative effect - the majority short values in that field are also
split over 2 rows when they were happily fitting in a single row
before the property change, and even where the field is null the row
takes up twice the vertical space it did before.

In summary, a 24-page report has now become 43 pages.

Any ideas what could be wrong, or is this a 'facility'? ;-)

Dave

I'm not sure I understand what you would like to happen.
If the control grows, where would you expect it to grow to?
It has to go down. If it goes down, the next record is also moved down
proportionately . .
Perhaps you would be satisfied by moving this one control to the end
of your record's data, so that the other controls (for that record)
precede this one. They will all appear on the same line and just this
one control will grow.
The next record will be moved downward from the end of the can grow
control.
If I've miss-understood you, please post back.

--
Fred
Please respond only to this newsgroup.
I do not reply to personal e-mail

Aug 8 '07 #3
Phil, I have checked all the controls and the detail section now have
both CanGrow and CanShrink set to 'Yes', but the problem remains the
same.

fredg: what you describe is exactly what I have already! i.e. the
detail section has the 9 text-boxes in a line across the page, and
only the last one is ever expected to contain more data than will fit
on one row. So before adding CanGrow=Yes the report looked like:

............... ....<other fields>........ .........ABC123 Short value
............... ....<other fields>........ .........XYZ789 Long value
too wide to display complet

and after the change I get:

............... ....<other fields>........ .........ABC123 Short

value

............... ....<other fields>........ .........XYZ789 Long value
too wide to display

completely

With CanGrow and CanShrink set to Yes on everything, I wouldn't expect
the first row to spread over two lines.

Dave
On Aug 8, 9:56 pm, "Phil Stanton" <p...@stantonfa mily.co.ukwrote :
Have you got all the controls and section set to CanGrow, and most
importantly CanShrink set to YES?

Phil

"fredg" <fgutk...@examp le.invalidwrote in message

news:1e******** *************** *******@40tude. net...
On Wed, 08 Aug 2007 09:40:56 -0700, D.St...@ed.ac.u k wrote:
I am having problems formatting an Access 2003 report which is trivial
in the extreme (tabular layout, 9 fields from 1 table per row in the
detail section, no groups/totals).
One field (only) in the row can be longer than its text-box on rare
occasions, so I've made the text-box and detail section CanGrow
properties = Yes. This has had one positive effect - the occasional
long field now displays correctly, split over 2 rows - but also a very
negative effect - the majority short values in that field are also
split over 2 rows when they were happily fitting in a single row
before the property change, and even where the field is null the row
takes up twice the vertical space it did before.
In summary, a 24-page report has now become 43 pages.
Any ideas what could be wrong, or is this a 'facility'? ;-)
Dave
I'm not sure I understand what you would like to happen.
If the control grows, where would you expect it to grow to?
It has to go down. If it goes down, the next record is also moved down
proportionately . .
Perhaps you would be satisfied by moving this one control to the end
of your record's data, so that the other controls (for that record)
precede this one. They will all appear on the same line and just this
one control will grow.
The next record will be moved downward from the end of the can grow
control.
If I've miss-understood you, please post back.
--
Fred
Please respond only to this newsgroup.
I do not reply to personal e-mail

Aug 9 '07 #4
On Thu, 09 Aug 2007 03:23:22 -0700, D.*****@ed.ac.u k wrote:
Phil, I have checked all the controls and the detail section now have
both CanGrow and CanShrink set to 'Yes', but the problem remains the
same.

fredg: what you describe is exactly what I have already! i.e. the
detail section has the 9 text-boxes in a line across the page, and
only the last one is ever expected to contain more data than will fit
on one row. So before adding CanGrow=Yes the report looked like:

............... ...<other fields>........ .........ABC123 Short value
............... ...<other fields>........ .........XYZ789 Long value
too wide to display complet

and after the change I get:

............... ...<other fields>........ .........ABC123 Short

value

............... ...<other fields>........ .........XYZ789 Long value
too wide to display

completely

With CanGrow and CanShrink set to Yes on everything, I wouldn't expect
the first row to spread over two lines.

Dave

On Aug 8, 9:56 pm, "Phil Stanton" <p...@stantonfa mily.co.ukwrote :
>Have you got all the controls and section set to CanGrow, and most
importantly CanShrink set to YES?

Phil

"fredg" <fgutk...@examp le.invalidwrote in message

news:1e******* *************** ********@40tude .net...
>>On Wed, 08 Aug 2007 09:40:56 -0700, D.St...@ed.ac.u k wrote:
>>>I am having problems formatting an Access 2003 report which is trivial
in the extreme (tabular layout, 9 fields from 1 table per row in the
detail section, no groups/totals).
>>>One field (only) in the row can be longer than its text-box on rare
occasions, so I've made the text-box and detail section CanGrow
properties = Yes. This has had one positive effect - the occasional
long field now displays correctly, split over 2 rows - but also a very
negative effect - the majority short values in that field are also
split over 2 rows when they were happily fitting in a single row
before the property change, and even where the field is null the row
takes up twice the vertical space it did before.
>>>In summary, a 24-page report has now become 43 pages.
>>>Any ideas what could be wrong, or is this a 'facility'? ;-)
>>>Dave
>>I'm not sure I understand what you would like to happen.
If the control grows, where would you expect it to grow to?
It has to go down. If it goes down, the next record is also moved down
proportionate ly. .
Perhaps you would be satisfied by moving this one control to the end
of your record's data, so that the other controls (for that record)
precede this one. They will all appear on the same line and just this
one control will grow.
The next record will be moved downward from the end of the can grow
control.
If I've miss-understood you, please post back.
>>--
Fred
Please respond only to this newsgroup.
I do not reply to personal e-mail
Can Shrink for sure is not suitable here as it doesn't work if you
have another control on the same line.

Is it possible that the right margin of the report is causing even
what you believe to be a short value to grow? Perhaps the report just
needs a touch less right margin.
How about playing with the control's margins as well?
I get it sometimes when printing labels, The text seems to fit
properly until the last column and you'll get a "Some data may not be
displayed ..." message, even though it prints OK after you close the
message box. It's the empty space on the label.

Good luck.
--
Fred
Please respond only to this newsgroup.
I do not reply to personal e-mail
Aug 9 '07 #5

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

Similar topics

24
4192
by: Michael Malinsky | last post by:
I'm attempting to create a database which will take information from one (perhaps two) tables and utilize that information to return queries to a report designed in Excel. The general idea I have is this: The "primary" or "source" table is easy. This is a trial balance (account number as a primary key, description, amount). I'll need table(s) to denote which account numbers belong to which
3
1490
by: Todd D. Levy | last post by:
I have a query based report where a number of the fields in each record are Yes/No data fields. I would like this report to behave as follows: If ALL of the Yes/No data fields in a given record have a value of YES, I would like that particular record to be suppressed (I.e. NOT appear in the report). and
8
3524
by: Mike MacSween | last post by:
tblCourses one to many to tblEvents. A course may have an intro workshop (a type of event), a mid course workshop, a final exam. Or any combination. Or something different in the future. At the moment the printed output is usually going to Word. It's turning into an unholy mess, because I'm having to prepare umpteen different Word templates, and the queries that drive them, depending on what events a course has.
5
3083
by: feck | last post by:
Hi, Is there any code/routine to export a report as a word document retaining the formatting. I have a requirment to produce some fairly detailed statisitical reports for transmission by e-mail. The reports require tweaking on a regular basis so I do not really want to base a standard document on query data, but would prefer to redesign the report as required and export that on completion. I know I can save as rtf etc. but you lose all...
3
1701
by: bisogni | last post by:
My dilemma is this: I have to run an access report that makes certain customer records easily viewable in a daily report that is to be run. Is it possible to conditionally shade just the background for certain individual customers (lets say possibly a dozen different customers which may vary daily), leaving the remaining report unshaded? The only shading info I can find is the "every other line" shading which won't help me. I was...
2
4418
by: dcyale | last post by:
I have a report with the following paragraph: ="This BA presents a " & & " determination for the " & & " and associated habitat. We would appreciate you processing the biological opinion by " & & ". If you have any questions, please contact ODOT Biologist " & & ", " & & ", " & & ". " The problem is that the phone number is showing up without any formatting, even though I saved it to the underlying table with the formatting. Since...
5
3060
by: CarrieR | last post by:
I am working within a DB I have been devolping in Access 2003, and have encountered a report coding issue I was hoping someone could help me with: I have 18 reports, each running off some smaller queried version of 2 main queries (apx. 6000 records each). The purposes of the DB and the reports require the formatting of these reports to change monthly as Actual Revenue is reported. I can accomplish all of these monthly formatting changes...
10
2136
by: sara | last post by:
Hi - I have a report that is 14 columnar sub-reports (Line up: Position- holders in each of our 14 locations - Manager, Assistant Manager, Receiving, Office, etc). I output directly to PDF (using ConvertReportToPDF from this site - Stephan Lebans) The formatting - Outlines on some fields - do not appear on subreports
4
8536
by: J Lagos | last post by:
I want to change the backcolor of textboxes in a report depending on their value. I messed with this for a few hours but I'm not savvy with the syntax for getting at controls in a report. can anyone suggest a direction. For example the Textboxes would contain values like "8R", "8S", "10S", the numbers would change depending on user input, but the letters are
4
5640
by: riaane | last post by:
Please help: I have Conditional Formatting on a Report Field that fills the background Red if the criteria is met. This displays correctly in Report View, however, when I "OutputTo" this report to "Rich Text Format (*.rtf)", the colour is lost on the resultant RTF document when I open it up in Word 2007. I would obviously like to retain the colours dictated by my Conditional Formatting criteria results when I output this report to RTF format....
0
8582
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
9122
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...
1
8860
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows Update option using the Control Panel or Settings app; it automatically checks for updates and installs any it finds, whether you like it or not. For most users, this new feature is actually very convenient. If you want to control the update process,...
0
7672
agi2029
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing, and deployment—without human intervention. Imagine an AI that can take a project description, break it down, write the code, debug it, and then launch it, all on its own.... Now, this would greatly impact the work of software developers. The idea...
1
6498
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome a new presenter, Adolph Dupré who will be discussing some powerful techniques for using class modules. He will explain when you may want to use classes instead of User Defined Types (UDT). For example, to manage the data in unbound forms. Adolph will...
0
5841
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
4348
by: TSSRALBI | last post by:
Hello I'm a network technician in training and I need your help. I am currently learning how to create and manage the different types of VPNs and I have a question about LAN-to-LAN VPNs. The last exercise I practiced was to create a LAN-to-LAN VPN between two Pfsense firewalls, by using IPSEC protocols. I succeeded, with both firewalls in the same network. But I'm wondering if it's possible to do the same thing, with 2 Pfsense firewalls...
1
3018
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
2281
muto222
by: muto222 | last post by:
How can i add a mobile payment intergratation into php mysql website.

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.