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

Changing Sort Order @ Runtime

Status
Not open for further replies.

ChuckVanT

Programmer
Feb 7, 2003
17
US
I have a report that might be sorted by vendor, or might be sorted by manufacturer. Is there a way that when I give the user a parameter to select the report type, that the sort order can be changed 'on the fly'?

Thanks in advance,
Chuck
 
Create a formula based on the parameter then make this your sort order.

i.e.

If {?parameter} = "Vendor" then {table.vendor} else
If {?parameter} = "Manufacturer" then {table.manufacturer}
etc. etc.


Reebo
UK

Please Note - Due to current economic forcast and budget constraints, the light at the end of the tunnel has been switched off. Thank you for your cooperation.
 
...assuming you're using .NET of course...silly me!
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top