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

Message

edited October 2002 in General
I would like show an message when no have records in
database. The screen is showed white and i went show
an message to user.

thank?s

Comments

  • edited October 2002

    See Report.NoDataBehaviors in the online help.




    Best regards,

    Nard Moseley
    Digital Metaphors
    www.digital-metaphors.com
  • edited October 2002
    I used this property (Report.NoDataBehaviors:= [bvPageBlank, bvShowDialog]),
    but
    not showed the message... What?s wrong???




  • edited October 2002

    There are no known issues with this feature.

    I noticed in your example you have the incorrect enumerated types. It
    should be ndBlankPage, ndShowDialog rather than bvBlankPage,
    bvShowDialog.

    Make sure that you are setting the properties prior to calling
    report.Print.

    Using RB 7.0, I just created and a simple example and it worked fine:

    ppReport1.NoDataBehaviors := [ndBlankPage, ndMessageDialog];
    ppReport1.Print;


    If you would like to contruct a simple, minimal example that demontrates
    the issue, you can e-mail in zip format to
    support@digital-metaphophors.com and we can check it out here.




    Best regards,

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