View Single Post
  #3  
Old August 20th, 2009, 06:53 PM posted to microsoft.public.access.reports
M Skabialka
external usenet poster
 
Posts: 570
Default MoveLayout and line feed question

You were right about the On Format and On Print - I now know the height of
the taller box.
My test data draws four rows of information, the third row has a CanGrow
text box that is longer, but the 4th detail row covers the bottom part of
it.
There is no code governing the footer format - I made it smaller but it made
no difference to the detail lines..
Something must be stopping the detail section from growing.
???
Mich

"Duane Hookom" wrote in message
...
I expect the text boxes are eventually printed over a group footer section
and the issue is the group footer section doesn't grow to match the
tallest
detail section. Is that a correct assumption?

Also, you can't grab the height of a grown control until the On Print
event.
The On Format will always display the design height.

--
Duane Hookom
Microsoft Access MVP


"M Skabialka" wrote:

I have a report where several text items are drawn on one line, and to
prevent a line feed, Me.MoveLayout = False is used.
Sometimes these text items have more text, and CanGrow is set to true so
they will expand down (the width is calculated for a time line). The
detail
section also has CanGrow set to true.
However the detail lines are always the same height and subsequent lines
write over text items made longer by CanGrow.

Debug.Print Me.txtName.Value & " --- " & Me.txtName.Height
shows all txtName fields to be the same height, even when they have
grown.

How can I get the detail line to expand so that the text items don't
overlap?

Mich