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

Print When

edited April 2004 in General
Sorry for dumb q but I'm moving from another report product, which had an
event OnPrintWhen so that we could code if a component should be printed at
run time.

Is there something similar in RB

TIA,
--
-k-

Comments

  • edited April 2004
    Hi Kumar,

    If you are trying to suppres the printing of a band or object at runtime,
    you can check a certian condition in the OnBeforePrint event of that object,
    then set its Visible property to False if the condition is not met. This
    method will have a similar effect to an OnPrintWhen event.

    --
    Best Regards,

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