Recent Changes - Search:

ProReports

edit SideBar

Respect my work!
If you are using commercially
ProReports please
bay a license:

or

        BTC: 

1MTFbBSKrocPK7G6GKfG8RoTw5N57WnnNa

If you have paid donate send me e-mail with Your data or transaction number to receive an access code to articles with limited access.

Registering report

In ProReports system you can register three types of report:

Registering report of type Jasper

After importing *.jrxml files and defining r#jasper4|form]] containing input elements you can start defining report in ProReports system. To achieve that you can use following option: Reports->Add report or by pressing New report button in option Reports->List of reports

Choosing one of the above options will display form to register a report:

When registering report of type Jasper you have to enter:

  • type of a report - Jasper
  • group, to which report will be linked
  • name of a report
  • short description of a report
  • report format
  • main file from suggested, imported *.jrxml files
  • other files linked with report (it can be *.jrxml files of subreports', image files, font files etc.)
  • form linked with a report and of way of displaying it (show form before report generation)

If report format was set to PDF then you can check option sign digital PDF file to sign generated report. You can also set linking with set of data (here you can know more about data sets).

Registering report of type Internal

To register a report of type Internal you can use option Reports->Add report or using button New report in option Reports->List of reports

Choosing one of mentioned option will bring up form to register report:

When registering Internal report you have to specify:

  • type of report as Internal
  • group to which report will be assigned
  • name of a report
  • short description of a report
  • report format
  • main file (needs to be selected only if you set report format to RTF and this file is supposed to be template for building a report - more on this can be found here)
  • other files linked with report (it can be *.php plugins, image files, font files etc.)
  • form linked with a report and of way of displaying it (show form before report generation)

If report format was set to PDF then you can check option sign digital PDF file to sign generated report. You can also set linking with set of data (here you can know more about data sets).

Registering elements of type Internal

After registering a report you can start registering it's elements (here you can find more info or report elements). From menu you have to select Elements option

which will cause moving to view of elements defined for certain report (for new report this list will be empty):

Using New report element will bring up form to register element:

where you have to fill following sections (fields) (here you can learn more about it):

  • Symbol - shortened element's name, e.g. consecutive letter - A
  • Type - type of an element (more on types here)
  • Weight - sets element hierarchy (here you can read more on it) in terms of other elements that are in the same group (elements having common master element)
  • Master element - points on master element for registered element
  • Description - any text that describes element functions
  • SQL - SQL query linked with element
  • Expression/Code before Template - section of PHP code used to download record from database (after executing query in SQL section)
  • Template - section that after processing variables is attached to output file (all merged sections of Template processed elements are report's output - if it is PRF report the output is processed to PDF file)
  • Expression/Code after Template - section of PHP code executed after Template section

While filling fields you can use icon to expand edit window:

In this window you can use predefined snippets and snippets/helpers available in plugins linked with report. How to create your own snippets/helpers you can read here.

After registering elements on a list they are displayed accodring to fixed hierarchy that has influence on order of processing elements when generating report (here you can read more on it):


This page may have a more recent version on pmwiki.org: PmWiki:DefRep, and a talk page: PmWiki:DefRep-Talk.

Edit - History - Print - Recent Changes - Search
Page last modified on August 29, 2019, at 08:35 AM EST