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

label not showing on report

edited November 2009 in General
I have a lable that I have placed on a report and I can see it in design
mode but it will not show when the report is run.

I have checked everything but nothing seems to work. I can add a label to a
different report and everything works fine.

Any suggestions?

Comments

  • edited November 2009
    Hi Joel,

    Is your report connected to a dataset with no data returned? If so, you
    need to be sure you have the NoDataBehaviors property set to ndBlankReport
    rather than ndBlankPage in order to see other components.

    --
    Regards,

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

    Best Regards,

    Nico Cizik
    Digital Metaphors
    http://www.digital-metaphors.com
  • edited November 2009
    Thanks but that did not help.

  • edited November 2009
    Even if I copy a label that displays, then the newly copied label does not
    work. I guess maybe it is a corrupted report?

  • edited November 2009
    Hi Joel,

    This may be the case. If you create a new report from scratch (similar to
    the report in question) do you still get the same behavior? You might also
    try commenting out all event code related to this report and see if that
    solves the issue. To check the progress, you can implement the
    OnDrawCommandCreate event of the label and place a breakpoint inside to see
    if the report is even generating the drawcommand.

    --
    Regards,

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

    Best Regards,

    Nico Cizik
    Digital Metaphors
    http://www.digital-metaphors.com
  • edited November 2009
    Thanks. It turned out to be something in the report band. Once it was
    deleted and then readded everything is working again.

This discussion has been closed.