Memo field might help. You could use memlines() to calculate the
number of lines.

On Wed, Dec 18, 2013 at 4:15 AM, Ken Dibble <[email protected]> wrote:
> Hi folks,
>
> I think this is a common question, often asked and answered, but I can't
> remember what the answer is.
>
> I have a report whose detail band contains four field objects. The first,
> third, and fourth objects can never contain more than one line of text. That
> is, they never need to "expand with overflow". The second object may contain
> between two and four lines of text, and it needs to expand with overflow.
>
> My problem is, when the report gets near the bottom of the page, I don't
> want it to start a new row in the detail band if there isn't enough room for
> the full rendered height of the second field object. On the other hand, I
> don't want to hard-code the height of the object to the maximum.
>
> I am generating the contents of the second field on the fly in the .frx, and
> it has to be the second field in the row (it's a bunch of concatenated mail
> address fields).
>
> Forcing multiple CHR(13)s in the first field object based on the contents of
> the second doesn't work.
>
> I'm using the standard old-style report writer; no ReportListener, in VFP 9
> SP 1.
>
> How do I:
>
> Render the field on the fly, use the old-style report writer, and make sure
> that a new row doesn't start unless the rendered height of the second object
> will fit completely on the page?
>
> Thanks for any help.
>
> Ken Dibble
> www.stic-cil.org
>
>
[excessive quoting removed by server]

_______________________________________________
Post Messages to: [email protected]
Subscription Maintenance: http://mail.leafe.com/mailman/listinfo/profox
OT-free version of this list: http://mail.leafe.com/mailman/listinfo/profoxtech
Searchable Archive: http://leafe.com/archives/search/profox
This message: 
http://leafe.com/archives/byMID/profox/CAGv=mja3usn+xpisbjpf_hu0uixk_y79spy97y-qzbgqe2g...@mail.gmail.com
** All postings, unless explicitly stated otherwise, are the opinions of the 
author, and do not constitute legal or medical advice. This statement is added 
to the messages for those lawyers who are too stupid to see the obvious.

Reply via email to