[mso] Re: Access 2003: How to Conditionally Print A LIne In AReport?

Ray,

Easiest first:  bound simply means the text box is getting its contents
from a field in the record being printed.

You might want to combine David's comment and mine:  Make one phone
number textbox that concatenates the two phone number fields and trims
the result. Set its width to the length of one phone number and set both
can grow and can shrink to true.  It should grow and wrap to a second
line when needed.

As for the boxes overlapping:  In design mode make sure the text boxes
are all aligned so their top edges are the same.  In a second row, make
sure none of the first row's bottom edges overlap the top edges of
anything on the second row.

If you don't want to do all that work, run an update query that replaces
the second phone number field contents with the result of trimming the
field.  If there is a space in the field it can't shrink away.


Robert Tillotson
BAE-IT
Groton Field Office
860-441-2207

-----Original Message-----
From: mso-bounce@xxxxxxxxxxxxx [mailto:mso-bounce@xxxxxxxxxxxxx] On
Behalf Of Ray Shapp
Sent: Wednesday, December 12, 2007 10:02 PM
To: mso@xxxxxxxxxxxxx
Subject: [mso] Re: Access 2003: How to Conditionally Print A LIne In
AReport?

Hi David and Robert,

Thanks for responding.

<< If you consolidate the phone numbers into a single field and then put
auto grow on to it, it might give you the results you're looking for.>>

This ruins the alignment of column headings with the associated data.


<<To prevent Access from printing this blank line when there is no value
, you need to set the "Can Shrink" property on that field to "Yes.>> <<
If there is an overlap, Access will not shrink the field as desired.=20
Basically it should be the only thing on that line.>>

This seems like the solution, however, I still get a second line for
those members who have blank info in the 2nd_Phone field. The only item
of any kind on the second line in the Detail section of the report is
the place holder for 2nd_Phone.

I just ran a test report by using "create report using wizard". The only
field in the entire detail section of the report is 2nd_Phone. No other
text boxes are specified within the detail section of the report. I did
set "Can  shrink"=20
to "Yes" on the Format tab of the 2nd_Phone text box..  The result is
still a
55 page report, almost all pages of which are blank.

I'm not sure what is meant by, "make sure that the field that you are
shrinking does not overlap with any other field (either a physical
overlap or another field that has the same "Top/Height" range)". What is
a "Top/Height"=20
range)"?

On another discussion group, I saw the comment that "the text box must
be bound". What does "bound" mean in this context?

Thanks again,

Ray Shapp


*************************************************************
You are receiving this mail because you subscribed to mso@xxxxxxxxxxxxx
or MicrosoftOffice@xxxxxxxxxxxxxxxx

To send mail to the group, simply address it to mso@xxxxxxxxxxxxx

To Unsubscribe from this group, visit the group's homepage and use the
dropdown menu at the top.  This will allow you to unsubscribe your email
address or change your email settings to digest or vacation (no mail).
http://www.freelists.org/webpage/mso

To be able to share files with the group, you must join our Yahoo sister
group.  This group will not allow for posting of emails, but will allow
you to join and share problem files, templates, etc.:
http://tech.groups.yahoo.com/group/MicrosoftOffice . This group is for
FILE SHARING ONLY.

If you are using Outlook and you see a lot of unnecessary code in your
email messages, read these instructions that explain why and how to fix
it:
http://personal-computer-tutor.com/abc3/v28/greg28.htm
*************************************************************
*************************************************************
You are receiving this mail because you subscribed to mso@xxxxxxxxxxxxx or 
MicrosoftOffice@xxxxxxxxxxxxxxxx

To send mail to the group, simply address it to mso@xxxxxxxxxxxxx

To Unsubscribe from this group, visit the group's homepage and use the dropdown 
menu at the top.  This will allow you to unsubscribe your email address or 
change your email settings to digest or vacation (no mail).
http://www.freelists.org/webpage/mso

To be able to share files with the group, you must join our Yahoo sister group. 
 This group will not allow for posting of emails, but will allow you to join 
and share problem files, templates, etc.:  
http://tech.groups.yahoo.com/group/MicrosoftOffice . This group is for FILE 
SHARING ONLY.

If you are using Outlook and you see a lot of unnecessary code in your email 
messages, read these instructions that explain why and how to fix it:
http://personal-computer-tutor.com/abc3/v28/greg28.htm
*************************************************************

Other related posts: