Home | Contact Us | FAQ | Search & Site Map | Link to Us
Sign In | Join | Other 45 Sites in Network
Home
Discussion GroupsFormsForms ProgrammingQueriesModules / DAO / VBAReports / PrintingMacrosDatabase DesignSecurityConversionImporting / LinkingSQL Server / ADPMultiuser / NetworkingReplicationSetup / ConfigurationDeveloper ToolkitsActiveX ControlsNew UsersGeneral 1General 2
Access DirectoryToolsTutorialsUser Groups
Related Topics
SQL ServerOther DB ProductsMS OfficeMore Topics ...

MS Access Forum / Reports / Printing / April 2007

Tip: Looking for answers? Try searching our database.

Field will not shrink.

Thread view: 
Enable EMail Alerts  Start New Thread
Thread rating: 
Frank Martin - 29 Apr 2007 02:26 GMT
I have an "address" field in a report which
sometimes contains no data.

I have set the "can grow" & "can shrink"
properties to *yes* but all I get is a blank
space on the report, whereas what I want is
for the fields to bunch up against one
another vertically.

Please help, Frank
Rick Brandt - 29 Apr 2007 02:31 GMT
> I have an "address" field in a report which
> sometimes contains no data.
[quoted text clipped - 6 lines]
>
> Please help, Frank

Are there any controls to the sides?  A control will only shrink if there is
nothing next to it that does not also shrink.

Signature

Rick Brandt, Microsoft Access MVP
Email (as appropriate) to...
RBrandt   at   Hunter   dot   com

Marshall Barton - 29 Apr 2007 06:30 GMT
>I have an "address" field in a report which
>sometimes contains no data.
[quoted text clipped - 4 lines]
>for the fields to bunch up against one
>another vertically.

A control can shrink without the section shrinking.  This
can be seen (as an experiment) if you set the control's
BorderStyle property to Solid or set its BackColor to
something other than white.

Rick mentioned one reason why the section might not shrink,
but another common reason is because you forgot to set the
section's CanShrink property.

Signature

Marsh
MVP [MS Access]

Frank Martin - 29 Apr 2007 23:06 GMT
Thanks for the replies.

The was a subReport next to the control in
question and which I relocated, and this
solved the problem.

But I thought that subReports were not meant
to effect the canshrink/grow property of
adjacent controls?

Is there any property in the subreport which
can effect the canshrink property?

Regards, Frank

>>I have an "address" field in a report which
>>sometimes contains no data.
[quoted text clipped - 19 lines]
> forgot to set the
> section's CanShrink property.
Marshall Barton - 29 Apr 2007 23:55 GMT
>The was a subReport next to the control in
>question and which I relocated, and this
[quoted text clipped - 3 lines]
>to effect the canshrink/grow property of
>adjacent controls?

They don't affect the property.  But, the ***section*** can
not shrink unless **all** the controls in a horizontal
"band" shrink.

Perhaps another way to think about it is that can shrink
does not cause a report's controls to "move up".  It causes
the section to compress empty horizontal "bands" that remain
after all the controls have shrunk.

Signature

Marsh
MVP [MS Access]

Frank Martin - 30 Apr 2007 03:23 GMT
>>The was a subReport next to the control in
>>question and which I relocated, and this
[quoted text clipped - 18 lines]
> "bands" that remain
> after all the controls have shrunk.

We live & learn.
Thanks
 
Sign In
Join
My Latest Posts
My Monitored Threads
My Blog
My Photo Gallery
My Profile
My Homepage

Start New Thread
Enable EMail Alerts
Rate this Thread



©2008 Advenet LLC   Privacy Policy - Terms of Use
This website includes both content owned or controlled by Advenet as well as content owned or controlled by third parties.