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

Upgrading from RB4.22 to RB7E

edited January 2003 in General
Hi.

I just purchased an upgrade (haven't downloaded it yet - I'll wait
until I can use the broadband link at work) and am about the impact on
users who have their own custom reports.

Is there a utility supplied to upgrade RB4.x reports to 7, or does it
only work with reports created using later versions? If there is, is
there anything I need to watch out for, in terms of possible problems?

Cheers & TIA, Martyn

Comments

  • edited January 2003
    Oops,

    "... am wondering about ..."
  • edited January 2003

    1. Back up all of your reports.
    2. Install RB 7 and open each report. Once the report has loaded, then
    re-save it.
    3. Test the report.
    4. See the article below, it may apply.
    5. Most reports will work with no changes. If you need help, post a question
    here or e-mail support@digital-metaphors.com.

    --------------------------------------------------------------------
    Article: Migrating Master/Detail reports from RB 5
    --------------------------------------------------------------------

    Starting with RB 5.5, the data traversal logic and report engine have been
    enhanced to support the new DADE linking features and to improve the ability
    of subreports to handle detail data.

    In the past the subreport did NOT properly honor the detail datapipeline
    SkipWhenNoRecords property. Now that this deficiency has been fixed it is
    causing some confusion.


    To convert old reports that use subreports to print detail data:

    1. Set the detail DataPipeline.SkipWhenNoRecords property to False.

    When SkipWhenNoRecords is False, master records that contain no detail data
    will NOT be skipped and will appear in the report.

    2. Use the default NoDataBehaviors property value of [ndBlankPage].

    When ChildReport.NoDataBehaviors = [ndBlankPage], the subreport will simply
    exit and not print if there is no detail data.

    Note: The NoDataBehaviors property was added in RB 5.52 to provide better
    control over how a report/subreport behaves when there is no data.


    --
    Nard Moseley
    Digital Metaphors
    http://www.digital-metaphors.com

    Best regards,

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