Associated Text Width

Phaidra Cambell asked: Associated Text in my Report Design Log keeps running too long and over-writing the next field. How can I limit the amount of characters to have in the associated text?

ANSWER: The Associated Text property set does not allow a Column Width to be set in Wrap, so there is no practical way to directly limit the horizontal extent of the Associated Text plus its label text (from the Text Expression property in the Main tab).

For example, in the Associated Text examples in the gINT Help topic Associated Text (how-to guide), the data being reported  for the Client label is "ABC Development Corporation, LTD":

If the data being reported was instead "Alexander Bellworth Carrington Development Corporation, LTD", any information to the right of the Client Associated Text will be overwritten.

There are a couple of ways to handle this situation:

  1. Control the data that will be reported: for example, the number of characters can be limited in INPUT by setting a Field Rule that assigns a maximum number of characters to the data field.
  2. Use two text entities to report the data so that you have access to set Column Width in the Wrap tab for the data report entity. Make sure you leave enough room below the second entity to accommodate the wrapped text when the line is longer than the width you have allowed.

Pat Cummings
gINT Trainer