The ideal time to create a static object in a report is before Report.Print is called. You may also be able to accomplish this using an early event such as the Report.BeforePrint event.
Im trying to do that... But I cant get the Shape to be visible... So I created the shape at design time, but when I position it to Top = HeaderBand1.Height, it suppress all the detail records. I want it to be "float like" over the detail records...
Is it possible to create a Region with the shape inside and do that? What code should I write?
If you place a shape with its StretchWithParent set to True inside a Region with Stretch set to True, the shape will grow with the Region. Note however that a region can act as a shape as well.
You may also consider placing a shape in the PageStyle band which prints behind everything in your report. This band can be enabled using the Report menu option in the designer.
Comments
The ideal time to create a static object in a report is before Report.Print
is called. You may also be able to accomplish this using an early event
such as the Report.BeforePrint event.
--
Regards,
Nico Cizik
Digital Metaphors
http://www.digital-metaphors.com
Nico Cizik
Digital Metaphors
http://www.digital-metaphors.com
created the shape at design time, but when I position it to Top =
HeaderBand1.Height, it suppress all the detail records. I want it to be
"float like" over the detail records...
Is it possible to create a Region with the shape inside and do that? What
code should I write?
Thanks
If you place a shape with its StretchWithParent set to True inside a Region
with Stretch set to True, the shape will grow with the Region. Note however
that a region can act as a shape as well.
You may also consider placing a shape in the PageStyle band which prints
behind everything in your report. This band can be enabled using the Report
menu option in the designer.
--
Regards,
Nico Cizik
Digital Metaphors
http://www.digital-metaphors.com
Nico Cizik
Digital Metaphors
http://www.digital-metaphors.com