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.
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.
Comments
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.
--
Nico Cizik
Digital Metaphors
http://www.digital-metaphors.com