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

Dynamic Sort

Status
Not open for further replies.

Sot

Programmer
Oct 10, 2002
24
US
I am having to coloumn in my report Address_code,Address_description
I want to sort by either one of this depends on the user selection...
Anyone help me...
Kumar
 
I assume that this means you're using a parameter.

Create a formula akin to:

@MySOrt
If {?Parm} = "Address_code" then
{MyTable.Address_code}
else
{MyTable.Address_description}


Now select this formula field as the sort by.

-k kai@informeddatadecisions.com
 
No i am not using parameter..Is there any solution?
Kumar
 
Where is the user going to make the selection? Ken Hamady, On-site Custom Crystal Reports Training & Consulting
Public classes and individual training.
Guide to using Crystal in VB
tek@kenhamady.com
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top