Home End User
New Blog Posts: Merging Reports - Part 1 and Part 2

Meaning of some fields in rbItem?

edited August 2004 in End User
Hi !

What are the real (practice!) meaning of ItemSize, ItemType, Modified
and Deleted in rbItem table?

THX!

Comments

  • edited August 2004
    Hi Benjamin,

    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.

    --
    Best Regards,

    Nico Cizik
    Digital Metaphors
    http://www.digital-metaphors.com
  • edited August 2004
    Nico Cizik (Digital Metaphors) wrote:

    THX!

    I kjnew that before, but for what operations do they serve for? Who is
    using them and when!?

    THX!
  • edited August 2004
    Benjamin,

    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.

    --
    Best Regards,

    Nico Cizik
    Digital Metaphors
    http://www.digital-metaphors.com
This discussion has been closed.