ItemSize: Size of the template file (stored in the "Template" blob field). ItemType: Type of template saved: 1. Report Template File (.rtm), 2. Report Code File (.ctm), or 3. Report Data File (.dtm). Modified: Date when the report was last modified Deleted: Whether the item is in the recycle bin or not.
When a template is loaded from database, it is streamed to memory and then loaded into the report object. This is the reason the ItemSize is needed because ReportBuilder needs to define the size of the stream before it is filled.
ReportBuilder defines the ItemType during the save process.
The Modified field is used for informational purposes in the Report Explorer (printed next to the report name) to give the explorer a "Windows Explorer" feel. This field is updated when you save a report.
The Deleted field is updated when you delete or drag a report to the recycle bin. This is the only purpose of the Deleted field.
If you would like to see exactly when these fields are updated, you can trace into the ppTemplat.pas source while using the Report Explorer at run time.
Comments
ItemSize: Size of the template file (stored in the "Template" blob field).
ItemType: Type of template saved: 1. Report Template File (.rtm), 2. Report
Code File (.ctm), or 3. Report Data File (.dtm).
Modified: Date when the report was last modified
Deleted: Whether the item is in the recycle bin or not.
--
Nico Cizik
Digital Metaphors
http://www.digital-metaphors.com
THX!
I kjnew that before, but for what operations do they serve for? Who is
using them and when!?
THX!
When a template is loaded from database, it is streamed to memory and then
loaded into the report object. This is the reason the ItemSize is needed
because ReportBuilder needs to define the size of the stream before it is
filled.
ReportBuilder defines the ItemType during the save process.
The Modified field is used for informational purposes in the Report Explorer
(printed next to the report name) to give the explorer a "Windows Explorer"
feel. This field is updated when you save a report.
The Deleted field is updated when you delete or drag a report to the recycle
bin. This is the only purpose of the Deleted field.
If you would like to see exactly when these fields are updated, you can
trace into the ppTemplat.pas source while using the Report Explorer at run
time.
--
Nico Cizik
Digital Metaphors
http://www.digital-metaphors.com