First Page is Blank in report

nvermanverma Member Posts: 396
I created a report, with 3 dataitems, but it always starts with an empty first page, it has a header, but no data. Is there any way to skip that first page?

I want each posting group to start on a new page. To do this, I have used the property: NewPagePerGroup (YES).

I have tried using CurrReport.Newpage (on the Customer GroupHeader), that didnt work aswell, it still creates an empty page.

I have tried playing around with KeepWithNext property, but it didnt yeild any postive outcome.

Report Layout:- http://www.zshare.ma/o1et1khnbms7
Report Preview:- http://www.zshare.ma/copfsevfufar

Any suggestions on how I can get past this issue.

Comments

  • SavatageSavatage Member Posts: 7,142
    why have a header with no data?

    Hide/delete that section.

    you can also play with the SHOWOUTPUT function:
    http://msdn.microsoft.com/en-us/library/dd355393.aspx

    If this is about the a/r report - it is used in that report to show or hide sections based on if you want to see or hide the details (see options tab)

    OnPreSection()
    CurrReport.SHOWOUTPUT := PrintDetail; (Boolean)

    Note :NewPagePerGroup
    "Use this property to determine whether there should be generated a page break before each new group, as defined by the GroupTotalFields property.
  • nvermanverma Member Posts: 396
    Header just contains a list of labels. After the header gets executed, it leaves the rest of the page blank and from the 2nd page it starts again but this time it runs the body section.

    Any idea why???

    I tried playing around with showouput, but that didnt work aswell.
Sign In or Register to comment.