Report record field $vertextend

Nick Renders omnis1 at arcict.com
Fri Mar 21 13:15:56 UTC 2025


Hi,

This might be a no-brainer, but after all this time, Omnis Reports are still a dark art like alchemy to me. So I am asking the almighty Omnis List before I inadvertently summon Beelzebub.

I have a simple Report class: Header - Record - Subtotals - Totals sections.
In the Record section, there is a Field that can have lots of text, or only a few words, depending on the Record.
This Field has its $vertextend Property set to kTrue, so some records are only one or two lines, while others can be 10 or more lines long.

The Record section will start a new page if less than 6 cms are available (metric system, not sure if that is a pro or con when performing alchemy). As you can guess, this means that the final Record can bleed into the Subtotals and Totals sections if there is lots of text.

So, how do I predict how much space is needed before printing the Record? Counting the characters seems a haphazard solution, considering Fonts, carriage returns/line feeds, etc.

Any ideas?

Best regards,

Nick Renders


More information about the omnisdev-en mailing list