Home General

Date display problem in RB5.56

edited July 2001 in General
I upgraded RB to 5.56 and checked my report which worked OK with
RB5.50. I noticed some problems:

1) If no date is selected then it prints 12/31/1899. I wanted to
print blank space.

2) In print preview, click arrow -> to go forward is OK, but click <-
arrow to preview backward some pages are printed incorrectly. It was
working with RB5.50.

I read the news group and noticed there is a patch to RB5.56. How can
I get it?

Thanks for the help.

-Ellen

Comments

  • edited July 2001

    1. You can try updating to RB 6.0. It is available for D6, D5, and D4.

    2. You can check the settings of Report.NoDataBehavior.

    3. Check out the following article below:

    --------------------------------------------------------------------
    Article: Migrating Master/Detail reports to RB 5.5
    --------------------------------------------------------------------

    The following assumes you are using RB 5.52 or later....

    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.




    Best regards,

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