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

Sorting On Multiple Fields in Reportnet

Status
Not open for further replies.

MacintoshF16

Technical User
Aug 27, 2003
21
US
Hey Folks
Please give me an idea on How to make Sorting on Multiple Fields in Reportnet

Regards,

Mac

 
assumption: u hav columns empname, empno, deptno
prompts: sort order (selective on empno, deptno)

in the queries, add a new item say sort order and for that column define the expression as
if (?sortorder? = 'empno') then (emp.empno)
else
(emp.deptno)

then in the properties of this new data item, set the sort order to Asscending or desc. remember to push this item first in the query.

regards,sudhi
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top