Crystal ReportsGeneral discussion about Crystal Reports. For discussions specific to the book Professional Crystal Reports for VS.NET, please see the book discussion forum for that book.
Welcome to the p2p.wrox.com Forums.
You are currently viewing the Crystal Reports section of the Wrox Programmer to Programmer discussions. This is a community of software programmers and website developers including Wrox book authors and readers. New member registration was closed in 2019. New posts were shut off and the site was archived into this static format as of October 1, 2020. If you require technical support for a Wrox book please contact http://hub.wiley.com
I have Customer and Salesrep group
I need to Dynamically choose the group to sort
I went in to top N/sort group expert, what ever is in the first sorting group is the sorting first.
this changes how ranking of the amount.
somebody helpppppppp.
create a parameter with Customerand sales rep as values to chose.
create a formula
if ?param = 'Customer' then
tab.cust
else if ?param = 'Salesrep' then
tab.salesrep.
thank you very much for your help.
that do the trick. One thing I had to try to under stand was.
tab.cust (I changed this to {table.customer}, took 1 min to understand what tab.cust was.
once again thank you ;)