I want the user of my program to be able to select which field they want to group by and then pass that value to Crystal reports, but I can't figure out how to do that.
Do I use GroupSelectionFormula, GroupCondition, or GroupSortFields?
I have created my report with a group section, but Crystal won't let me leave the criteria blank so I had to select one of the database fields to group by. How do I pass the user's preference to Crystal and override the one selected in design view? I don't really want to create 8 or 9 different reports if I can achieve the same thing by passing a variable. Thanks.
Do I use GroupSelectionFormula, GroupCondition, or GroupSortFields?
I have created my report with a group section, but Crystal won't let me leave the criteria blank so I had to select one of the database fields to group by. How do I pass the user's preference to Crystal and override the one selected in design view? I don't really want to create 8 or 9 different reports if I can achieve the same thing by passing a variable. Thanks.