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 IamaSherpa on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Dynamic Sorting in Crosstab

Status
Not open for further replies.

batkosta

Technical User
Apr 11, 2006
16
GB
Dear Experts,

I have a crosstab with rows and summarised fields (no columns). I would like to be able to sort the crosstab by any field based on a parameter. I have a command parameter {?Sort} that passes a dynamic string to sort the query and I know that the recordset is ordered according to the parameter selected. But i see no way to implement this in a crosstab unless i do a manual crosstab which requires a lot of formating.


Any help appreciated.

Mr. K
 
You can create a group that will use several alternative fields, depending on the parameter entry. This should also be usable in a Crosstab, though it varies for Crystal versions.

[yinyang] Madawc Williams (East Anglia, UK). Using Windows XP & Crystal 10 [yinyang]
 
Thanks for the quick reply Madawc, i'll give it a go later on and let you know if i have any luck.

Mr. K
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top