TFPJSONReport loading and running a saved report
Original Reporter info from Mantis: Stephano
-
Reporter name:
Original Reporter info from Mantis: Stephano
- Reporter name:
Description:
- Add to fpreport wiki sample code to load and run a TFPJSONreport from a report created and saved in the standalone designer.
- Create an event for TFPJSONReport to make creating the datasets easier
- Add to wiki some info (from bug #33263 (closed)):
- The datasets are not considered part of the report.
- The report streamer ignores any properties it does not know.
The report designer uses these facts to save the data definitions in a separate structure 'DesignData', which is not part of the actual report's JSON.
It is the task of the loading code to create the necessary datasets,
based on the definitions found in this data structure. See LoadDesignFromFile, there you see how this is done around line 1370
Mantis conversion info:
- Mantis ID: 33282
- Fixed in version: 1.9 (SVN)
- Fixed in revision: 57522 (#b075f5ee)