Skip to main content

Report Line Suppression

  • January 12, 2012
  • 1 reply
  • 0 views

[Migrated content. Thread originally posted on 11 January 2012]

I am generating a report using the report writer. How can I stop a blank line from printing? For example if I have allocated space for 5 Comment fields(80 char a piece) to print, one on each line. For a particular record only the first 2 Comments field have data in them, how can I prevent the report from producing 3 blanks lines of data after the first 2 are printed?

1 reply

Stephen Hjerpe
  • Participating Frequently
  • 1100 replies
  • January 12, 2012

[Migrated content. Thread originally posted on 11 January 2012]

I am generating a report using the report writer. How can I stop a blank line from printing? For example if I have allocated space for 5 Comment fields(80 char a piece) to print, one on each line. For a particular record only the first 2 Comments field have data in them, how can I prevent the report from producing 3 blanks lines of data after the first 2 are printed?
For each field on the report, you can define a before-print procedure, this would allow you to find out how many "comments" were made and change the report output.