On RB 12, is there a way to determine when a report is outputting to a specific file type such as excel? Only in such situation I would like to hide the header band on pages other than the first. How can this be accomplished?
Try using an event such as the OnPrintDialogClose to check the TppReport.PrintDialog.DeviceType property to see what file device the user has selected before the report prints.
Comments
Try using an event such as the OnPrintDialogClose to check the
TppReport.PrintDialog.DeviceType property to see what file device the user
has selected before the report prints.
--
Regards,
Nico Cizik
Digital Metaphors
http://www.digital-metaphors.com
Nico Cizik
Digital Metaphors
http://www.digital-metaphors.com
example:
uses
ppXLSDevice;
If Report.FileDevice is TppXLSDataDevice then
// printing to xls data
--
Nard Moseley
Digital Metaphors
www.digital-metaphors.com
Best regards,
Nard Moseley
Digital Metaphors
www.digital-metaphors.com
Temoc Navarro