Set grouping levels in VBA Code

I

Ian

How do you set the grouping level for a report through code? I want the user
to be able to choose the field they want the report to be grouped by

Thanks
Ian
 
Top