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.

Internal report based on RTF template

Download template RTF karta.rtf

In system ProReports it is possible to prepare a report based on the template file *.rtf. This type of report can be useful for creating different types of contracts, annexes, applications, print postage, etc.

Creating such a report you have to make tree steps:

  • prepare template *.rtf, for example in MSWord
  • attach templete to ProReports
  • create a report with an indication of the reporting system prepared template

Example

Prepare template

Template *.rtf is a regular file, the fields download from a data source must be inserted as form text fields (see below):

format:

^^<symbol>_<name_of_field>^^

Attach templete

Prepared template attach to the reporting system like other auxiliary files (look here).

Create a report with an indication of the reporting system prepared template

We register report indicatiing in field Template previously imported template *.rtf.

Next We register elements of report:

  • element A
SectionValue
Symbolbda
TypeBODY
Weight0
Parent---
Descriptionselect data admin
SQLselect * from ge_users where login="admin";
Expression/Code before Template
Template
Expression/Code after Template 

As a result, run the report is created file *.rtf, where the symbols are replaced with values from the data source:


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

Edit - History - Print - Recent Changes - Search
Page last modified on May 26, 2015, at 10:25 AM EST