Question:
How can I create a report formatted with historical data?
Solution:
Since formatted reports have no queries, you must create dynamical fields manually and set up the amount of records the report will display, because the number of records must be proportional to the amount of fields in a report.
Then, you must create a tag for every dynamical field created in the report; in the demo application attached to this article, a matrix tag was created with one column and three rows, and the report displays three dynamical fields.
On the screen, there is a button created to scan the three first records displayed by the Browser on screen. The retrieved value of each record is attributed to a cell in the matrix tag.
Finally, the report’s Print function is called to print the data.