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

Group Sort Order Formula for Specific Group

Status
Not open for further replies.

littleress

Technical User
Apr 10, 2008
21
US
I have created a case that puts fields into groups based on types. Right now all of them are order in club #, which is fine for the main group. But I want to be able to tell it if the group is equal to X then it needs to order by type and then club # rather than just club #... is this possible??
Thanks in Advance!
 
Should be. Something like
Code:
If {?TypeAlso} = "Y"
then ToText({type}) & "/" & {Club}
else {Club}
Replace {club} with @YourFormula as the group field. The 'ToText is only needed if Type is numeric.

It helps to give your Crystal version - 8, 8.5, 9, 10, 11 or whatever. Methods sometimes change between versions, and higher versions have extra options. In this case, it probably makes no difference.



[yinyang] Madawc Williams (East Anglia, UK). Using Windows XP & Crystal 10 [yinyang]
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top