AddSortKey Method of Memory data sorter and Reuse Query

RaviNarayan

New Member
I am using memory data sorter for reusing the queryresult in another report section.Both the report sections are using different group keys.So before reusing the query result(of first report section) in the second report section I need to sort the data according to the group key value of the second report section.So in the start method of second report section I am calling addsort( ) key method by passing the group key value of the second report section as parameter.But its not sorting the data. I am getting erroneous results.Can anybody help me in this matter.

RaviNarayan
Programmer Analyst
 
Top