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

Sort Order

Status
Not open for further replies.

giakula

Programmer
Nov 9, 2004
1
0
0
US
I have to create a report in whcih i am using group section. the sorting is being done automatically with it. but in my report the user inputs how he wants to sort. i tried to append the OrderByClause depending on the input but its not working as i guess the sorting set up of the group section is not letting it to. please help me on this. its real urgent Thanks lata
 
Depending on the complaexity of the grouping/sorting that you need, you can remove the value you have for the key in your group section (leaving it blank) or removing the group section completely. Then you can averride the ObtainSelectStatement, making sure that your code in the method is BEFORE the call "ObtainSelectStatement = Super::ObtainSelectStatement( )".


Bill
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top