Expand All or expanddrilldowns
trying to create a report where a label can be used to expand all subreports
at run time when clicked on added this code to the onDrawComandClick event
but still get a blank report
rpExternal.ExpandDrillDowns;
srDetails.ExpandAll := True;
srProduction.ExpandAll:= True;
rpExternal.DeviceType := 'dtScreen';
rpExternal.Print;
I am sure there is something I have missed Using D2010 and rb 11.07
Thank you for your assistance in advance
at run time when clicked on added this code to the onDrawComandClick event
but still get a blank report
rpExternal.ExpandDrillDowns;
srDetails.ExpandAll := True;
srProduction.ExpandAll:= True;
rpExternal.DeviceType := 'dtScreen';
rpExternal.Print;
I am sure there is something I have missed Using D2010 and rb 11.07
Thank you for your assistance in advance
This discussion has been closed.
Comments
Take a look at the following article on properly refreshing a report after
clicking a drawcommand.
http://www.digital-metaphors.com/rbWiki/Delphi_Code/Formatting/How_To...Refresh_the_Report_After_a_Drawcommand_Click
--
Regards,
Nico Cizik
Digital Metaphors
http://www.digital-metaphors.com
Nico Cizik
Digital Metaphors
http://www.digital-metaphors.com