>This is no fun...
>
>Perhaps the MVPs can suggest this as an upgrade to Access. Perhaps a
>do-not-break property for text related controls. It won't do me any good,
>but perhaps it will help some person down the line...
Thanks for the 4K limitation information. I was not aware of that.
I my particular case, however, the text will be absent or very short. I was
wondering if something like what was done for forms, in Klatuu's post, could
be done in reports (lebans's Can Grow database form)? In otherwords,
analysize the size of the text field and if it looks like it will split to
the next page next force it onto a new page? Not easy, if it is possible,
but it is a more general solution, although it might not work across
subreports.
> >This is no fun...
> >
[quoted text clipped - 15 lines]
> tables in a 1-1 relationship. This table structure makes
> using subreports much more straightforward.
Marshall Barton - 25 Apr 2008 00:41 GMT
>I my particular case, however, the text will be absent or very short. I was
>wondering if something like what was done for forms, in Klatuu's post, could
[quoted text clipped - 3 lines]
>but it is a more general solution, although it might not work across
>subreports.
You can do that in reports too, but with 50 text boxes, it
can get more that a little complicated in either a form or a
report. Not only that, but forms do not have to worry about
page boundaries.
You can use Stephen Lebans' TextHeightWidth function in a
sections Format event to get a very good estimate of the
height that a text box will be after it grows.
Working from top to bottom of a section and keeping track of
the accumulated heights and spaces between the text boxes
thus far, you can compare the eventual size of a text box to
the report's Top property (that provides the section's
position on the page) and then make a page break control
visible to push the text box to the next page.
Personally, I have to advise against that idea and recommend
using subreports instead.

Signature
Marsh
MVP [MS Access]