Missing data in report

WickeyWickey Amsterdam, Netherlands
edited 9:07PM in FastReport .NET
Hi there,

I have a problem when viewing/printing a report. The report have the following structure:
1: Report Title: empty
2: Page Header: Contains fields for general customer info such as Name, address etc.
3: Group Header: Condition=CustomerId
4: Data: CustomerDataSource: Contains fields for purchases and prices
5: Group Footer: Contains fields for Totals
6: Page Footer: Contains PageNofM field

The data source contains data rows containing all the customer info (CustomerId, name, address, purchases, prices etc.) per row.
f.ex:
100, CuName1, CuAddress1, Product1, Price1 ...
100, CuName1, CuAddress1, Product2, Price2 ...
101, CuName2, CuAddress2, Product3, Price3 ...
101, CuName2, CuAddress2, Product4, Price4 ...
...
The data is grouped by CustomerId.

The wanted result should be something like this:

page 1
CuName1, <= this is missing on the 1st report page
CuAddress1 <= this is missing on the 1st report page
Product1, Price1
Product2, Price2
Total
page 2
CuName2,
CuAddress2
Product3, Price4
Product4, Price4
Total

The problem is that the customer info CuName1 and CuAddress1 isn't printed for the 1st data row, only the grouped date is printed.
Other pages are printed correctly with both the Customer info and the related purchases.
The data source is an xml file read into a DataSet.

Hope this explains the problem and that someone out there have an idea what I'm doing wrong.

Kind regards
Wickey

Comments

  • edited 9:07PM
    Hello,

    Put the customer info (CuName1, CuAddress1) on the GroupHeader, instead of PageHeader.
  • WickeyWickey Amsterdam, Netherlands
    edited 9:07PM
    Hi AlexTZ,

    Thank's for the very fast reply.
    It works like a charm.

    Kind regards
    Wickey
    AlexTZ wrote: »
    Hello,

    Put the customer info (CuName1, CuAddress1) on the GroupHeader, instead of PageHeader.

Leave a Comment

Rich Text Editor. To edit a paragraph's style, hit tab to get to the paragraph menu. From there you will be able to pick one style. Nothing defaults to paragraph. An inline formatting menu will show up when you select text. Hit tab to get into that menu. Some elements, such as rich link embeds, images, loading indicators, and error messages may get inserted into the editor. You may navigate to these using the arrow keys inside of the editor and delete them with the delete or backspace key.