Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Mike Lewis on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Passing Group By value from VB to Crystal

Status
Not open for further replies.

anet

Programmer
Jul 10, 2001
35
CA
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.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top