How to do the report ?

edited 6:41PM in FastReport 4.0
I have data in dateset in that format:
person1 | data1 | value
person1 | data2 | value
person1 | data3 | value
person2 | data1 | value
person2 | data2 | value
person3 | data2 | value
person3 | data3 | value


And I want to print the data in that format:
person | data1 | data2 | data3  | sum
person1| value | value | value  | sum(values person1)
person2| value | value | value  | sum(values person2)
person3| value | value | value  | sum(values person3)


How can I make the report in simples way ?

Comments

  • gpigpi
    edited 6:41PM
    Try to use TfrxDBCrossView object
  • edited 6:41PM
    pele wrote: »
    I have data in dateset in that format:
    person1 | data1 | value
    person1 | data2 | value
    person1 | data3 | value
    person2 | data1 | value
    person2 | data2 | value
    person3 | data2 | value
    person3 | data3 | value
    


    And I want to print the data in that format:
    person | data1 | data2 | data3  | sum
    person1| value | value | value  | sum(values person1)
    person2| value | value | value  | sum(values person2)
    person3| value | value | value  | sum(values person3)
    


    How can I make the report in simples way ?


    hi..
    Please Read FR4 User Manual - Croos-Tab chapter and read/execute Demo/Example of FastReport ....It's very simple using fastreport...or you can generate it completely from query... usually using stored procedure and it is full complexity...
  • edited 6:41PM
    If you are looking for better xml reporting software, please take a look at Windward's Xml Reports. With Windward you design reports in Microsoft Word, Excel, or PowerPoint so report design is a lot faster and easier - and non-programmers can design reports.

  • gpigpi
    edited 6:41PM
    boky
    Does Windward's Xml Reports support Delphi?

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.