[CLOSED] sorting in Active Report with an Across field
I have created an Active Report with the months of the year going ACROSS. I am not able to use the functions within Active Report......for example, if I select a month (July) and choose Sort Ascending I do not get a list returned that accurately sorts my list. Is there an issue with my code or does sorting not work properly in an Active Report that contains an ACROSS field?This message has been edited. Last edited by: Kerry,
WebFOCUS developer studio version 7.6.11 Windows all formats
January 05, 2010, 03:12 PM
GinnyJakes
TABLE FILE CENTURYSALES
SUM PROFIT
BY REGION
ACROSS MONTH
WHERE YEAR EQ 2005
ON TABLE PCHOLD FORMAT AHTML
END
When I run this and sort a column, it sorts all of the columns in that manner. Is that what your complaint is?
Yes, your code sorts correctly. In addition to that, after the ACROSS MONTH line, I have added a COLUMNS &COL_ORDER where the user can specify which month they would like the report to start with. Could this be interfering with the sort function?
WebFOCUS developer studio version 7.6.11 Windows all formats
January 05, 2010, 03:56 PM
GinnyJakes
I haven't got a clue though that doesn't make sense as a cause. Take it out and see if it fixes your problem. Or add it to the sample code and see if it breaks.