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

Report title set by New Report Wizard

edited June 2009 in General
Hi,
My users are reporting a difference between v10.07 and v11.04 (Enterprise).
When running the New Employee Wizard, the title label of the report used to
be set to the name of the main data pipelineof the report (e.g.
plPipeline1). From v11, it is being set to the path of the report file (e.g.
c:\documents and settings\user\application data\user reports\report1.rtm).

Is this deliberate or known behaviour or is there something I am doing that
might cause this to happen?

Thanks,
Jason.

--
Jason Sweby
Software Development Manager,
Carval Computing Limited, Plymouth, UK

Payroll - HR - T&A - Access Control

Comments

  • edited June 2009
    Hi Jason,

    In my quick testing the report wizard set the title of the report to the
    DataPipeline as expected. Are you able to recreate the behavior you mention
    with a simple example? If so, please send it in .zip format to
    support@digital-metaphors.com or give me the steps I can take here to see
    the issue on my machine.

    --
    Regards,

    Nico Cizik
    Digital Metaphors
    http://www.digital-metaphors.com

    Best Regards,

    Nico Cizik
    Digital Metaphors
    http://www.digital-metaphors.com
  • edited June 2009
    Hi Nico

    I put a simple test report together and got the behaviour that was expected,
    that you are getting. Therefore there must be something else going on that I
    will have to investigate. If I find anything I'll post back here.

    Jason.

  • edited June 2009
    Hi Nico

    Following up from this, I have sorted it although I'm not sure why the
    change in behaviour suddenly started; maybe there is some deep-down change
    in the RB 11 source that was slightly different to v10, although I couldn't
    see it.

    When we present the report designer to the user, we load a template for them
    to get started with. We then route them through the Query Wizard and then
    the New Report Wizard. What used to happen was that the name of the query
    pipeline created in the Query Wizard became the title of the report
    (Label1.Caption) after running the Report Wizard.

    For some reason from RB v11, the report title label's caption (Label1)
    changed to become the path of the report template.

    Going through the wizard source, I noticed that the default report title is
    the Report.Template.Description value (which we don't set). If this is
    blank, then it falls back to the datapipeline name.

    If I Report.Template.Description to '' (empty string) after loading the
    template, the original behaviour returns, i.e. the report title label
    becomes the name of the datapipeline.

    So I don't know if, somewhere, the Report.Template.Description is being set
    to the Report.Template.FileName, or not?

    If we don't load a default report template when opening the designer, the
    report title is set to the datapipeline name, as before. So it was all to do
    with loading the template first.

    Hope this is of some use, any explanation might be helpful but not essential
    as we're now back to the behaviour our users were expecting.

    Jason.

  • edited June 2009
    Hi Jason,

    This logic has not changed since RB 10. If a template is saved to file, the
    Description property will be set to the file name, if it is saved to
    database, Description is set to the pipeline.

    --
    Regards,

    Nico Cizik
    Digital Metaphors
    http://www.digital-metaphors.com

    Best Regards,

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