Thursday, April 28, 2011

Vertical line problem in the detail section of Crystal report


I have a little problem with the vertical lines in Detail section. In detail section at the end there is horizontal line. Also I have Report Footer section which displays total number of records. I suppressed Page Footer section. I would like end all the vertical lines to the last line of the records not to extend beyond the "Total"(Report Footer). It works fine if everything on the same page. The problem starts when the last line of the detail is on the first page and the "Total" wouldn't fit on the first page. It displays "Total" on the second page and it draws vertical lines to the end of the page.

Thanks for any suggestion.

From stackoverflow
  • Can you possibly add a group around the detail, and have the vertical line extend just into the groups, notr into the report foorter? That should help.

    nav100 : How can I add a group? I don't have a groups right now.
    astander : Add any random group, create a function that returns a static variable, or have the lines finish in report header and report foorter.
  • Do your vertical lines start and end in matching sections? Dou you have any groups defined?

    Usually Crystal displays lines properly, when they start and end in matching group sections (1st header - 1st footer). If they start in page header and end in details for example, then result is often undefined. Or from detail to page footer - result is undefined again.


Post a Comment