set Group New File from within Report based on Parameter
Dear Support,
I wish to have one report for all orders and single orders ( group by orders create new file option )
My problem is :
if I make a parameter ppSetGroup . How do I SET the CREATE NEW FILE for the Group to true if this is 1 or to false if this is 0.
I have the latest Report Builder .
Thank you
I wish to have one report for all orders and single orders ( group by orders create new file option )
My problem is :
if I make a parameter ppSetGroup . How do I SET the CREATE NEW FILE for the Group to true if this is 1 or to false if this is 0.
I have the latest Report Builder .
Thank you
Comments
This is something that will need to be done in code before the report prints. Assuming the parameter value is already defined, you can use the OnInitializeParameters event to check the ppSetGroup parameter and toggle the Group.GroupFileSettings.NewFile property accordingly.
In my quick testing, the following gave the proper results:
Nico Cizik
Digital Metaphors
http://www.digital-metaphors.com