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

System Variable date display?

edited December 2013 in General
Hi

We have noticed that since update to reportbuilder15 the variable that
displays the system date at the top of a report does not display the
correct date now (instead it shows some date rather live the variable is
null).

?this can be gotten over of course by having the user editing their
template and deleting the variable and replacing with a new system
variable from the designer toolbar which then displays fine....but this
means that each user will need to manually do this.

Is it possible to automate the removal of the old Variable and replace
with a new?

This behaviour is only exhibited on one very old report (from around 2001).

Thanks for your help
Glenn

Comments

  • edited December 2013
    Hi Glenn,

    We have not heard of this behavior. If replacing the TppSystemVariable
    with an new one solves the issue, the best solution would be to alter
    the template and resave it with the newer component. If this needs to
    be done in code, you could create a simple report object loop to search
    for the old component, remove it from the report and add a new one in
    the same place.

    Note that in code, all of this would need to be done after the template
    is loaded or in the OnLoadEnd event.

    Best Regards,

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