Weird problem with "Can Shrink"

J

Jonathan Blitz

I have a field set to "Can Shrink" on a report.

The control source is set to
=IIf([ActivityType]="Notes",Null,[CustomerName])

In the report the contents of the field are truncated.

It works ok if the field is not set to "can shrink" or if the value is
directly from a control source. Only the combination seems to cause
problems.

Any ideas out there?


--
Jonathan Blitz
AnyKey Limited
Israel

"When things seem bad
Don't worry and shout
Just count up the times
Things have worked themselves out."
 
L

Larry Linson

I'm not sure that it is "weird" -- it may just be how Access 'views' a
calculated Control. I suspect you can avoid the problem by doing the
calculation in your query to create a calculated _Field_ and using that
_Field_ as the ControlSource. The report won't know, nor care, that the
Field value is the result of a calculation.

Larry Linson
Microsoft Access MVP
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Similar Threads

Can shrink with sub-report 1
Performing action if report is printed 1
Weird error message 1
Can shrink not responding 3
Hiding report field 1
Dynamic sorting and grouping 1
Can Shrink 4
Empty sub-report 1

Top