Oracle Report 10g (2 Merged) [message #484467] |
Tue, 30 November 2010 18:59 |
averion
Messages: 42 Registered: January 2009 Location: US
|
Member |
|
|
Hello Experts,
Is there a way to short a Matrix report?
The query shorts correctly in PLSQL but not in the geretated report file.
There are columns like Date,Device,OperatorID etc and the report should be able to short depending on the requirement. For example,
it should be able to short by device, or by Date or both.
I tried sorting in the 'Break order' but doesn't come out as required.
Thanks a lot.
|
|
|
|
|
Re: Oracle Report 10g [message #484484 is a reply to message #484475] |
Wed, 01 December 2010 00:38 |
|
Littlefoot
Messages: 21823 Registered: June 2005 Location: Croatia, Europe
|
Senior Member Account Moderator |
|
|
Did you use ORDER BY in query?
Did you set all "Break orders" correctly?
Could you post a query, as well as screenshot of Data model editor's layout?
P.S. It is "sort", not "short".
[Updated on: Wed, 01 December 2010 00:38] Report message to a moderator
|
|
|
Re: Oracle Report 10g [message #484597 is a reply to message #484484] |
Wed, 01 December 2010 19:56 |
averion
Messages: 42 Registered: January 2009 Location: US
|
Member |
|
|
Thanks for the response.
I have a 'Matrix' report that has to be sorted by verious columns depending on the requirements.
Some sample columns are Date,Product,Person.
A user can pass 'order by' Date, or Prodiuct or both and the report should sort the result accordingly.
I tried this in the 'Break Order' too but the report is not sorting it correctly.
There has to be a way to sort a Matrix report too. It should be doable.
I apologize for the mistakes in earlier postings.
Thanks,
|
|
|
|
Re: Oracle Report 10g [message #484714 is a reply to message #484693] |
Thu, 02 December 2010 06:39 |
averion
Messages: 42 Registered: January 2009 Location: US
|
Member |
|
|
Thanks for the reply.
There is a JAVA mask for the users to provide input.
So when a user runs a report for specific device or product it will be combined in the where condition as you mentioned.
Something like &P_Input.
User can also input order by as per the requirement.
This will also be included in the query as &P_OrderBY.
So, depending on the input a report will be generated.
These parameters work fine (for selection and ordering) in case of normal report but not for Matrix report.
I tried using NULL in the 'breakorder' for individual row but it doesn't seem to work that way.
I strongly believe there has to be a way to sort Matrix Report.
Thanks,
[Updated on: Thu, 02 December 2010 06:40] Report message to a moderator
|
|
|