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

Creating User Access Rights

edited December 2004 in End User
All

I wish to implement additional access control to various reports and propose
to add a field DEPARTMENT to the rbFolder and REPORT_ACCESS_LEVEL to the
rbItem. Actually using the fields is no problem, I set filters on the
tables and thereby achive the access control I require.

However I can not see, when creating a new report, how I can allow the
report designer to set these values in the tables at design time?

Any suggestions greatfully appreciated - or indeed better ideas.

Thanks in advance

Philip L Jackson

Comments

  • edited December 2004

    You can use the Report.Template.OnSaveEnd and OnLoadEnd events to store and
    load the custom information to appropriate data fields for the record. (This
    is the technique used by the ReportExplorer.)

    The RBuilder\Demos\EndUser\ReportExplorer project contains an example of
    using the OnLoadEnd event. (The example is not for custom database info, but
    it shows how to use the event.)


    --
    Nard Moseley
    Digital Metaphors Corporation
    www.digital-metaphors.com



    Best regards,

    Nard Moseley
    Digital Metaphors
    www.digital-metaphors.com
This discussion has been closed.