Is this Oracle Reports bug – "break order property" in "group above" report

Is this Oracle Reports bug – “break order property” in "group above" report
Could anybody confirm that in "group above" report, we could only order the brake column's values with ""none" or "ascending" or "descending" provided by "break order property"?
In the following example, “Dept” is brake column. Oracle Reports allows us to order values in “Dept” with “descending” provided by “break order property”:
Dept 30
job ename salary
xxx xxx xxx
xxx xxx xxx
Dept 20
job ename salary
xxx xxx xxx
xxx xxx xxx
Dept 10
job ename salary
xxx xxx xxx
xxx xxx xxx
or “ascending” provided by “break order property”:
Dept 10
job ename salary
xxx xxx xxx
xxx xxx xxx
Dept 20
job ename salary
xxx xxx xxx
xxx xxx xxx
Dept 30
job ename salary
xxx xxx xxx
xxx xxx xxx
I need to do:
Dept 20
job ename salary
xxx xxx xxx
xxx xxx xxx
Dept 10
job ename salary
xxx xxx xxx
xxx xxx xxx
Dept 30
job ename salary
xxx xxx xxx
xxx xxx xxx
Could I do this? Could anybody confirm that we could never ever do this, or If yes, how?
Millions of thanks for advice.
M.Z.
Edited by: jielan on Sep 18, 2010 8:23 AM

Why should that be a bug? You have a custom requirement and have to find a way to fulfill it. But, what is your actual sorting order? Do you have only this three departments? If so, you could add an addtional column in your query like
DECODE(DEPT,  20, 1, 10, 2, 30, 3, 4) SORTINGput that column in the same group as dept and sort after that new column.

Similar Messages

  • Break Column in Group Above Report - Causing Error in Data Groupings

    Since I'm required to designate at least one Break Column in my Group Above report, I created a dummy column in my SELECT statement. I did this so that I could designate the required minimum of at least one break column, but I designated one that won't have any impact on how the report is ordered, because it will be the same value (NULL) for every record. So, my SELECT statement starts out looking something like this:
    SELECT
    NULL break_column,
    column_1 column1_name,
    column_2 column2_name,
    column_3 column3_name,
    column_4 column4_name,
    column_5 column5_name
    I needed for the break column to have no impact on the ordering of the report because I need for the ORDER BY clause to completely control how the report is sorted, w/o any interference by a hard-coded break column. I need this because my intention is to make the ORDER BY clause dynamic, and a hard-coded break column with actual data would supercede the ORDER BY clause, thereby making it static.
    Everything is working correctly with regard to how the report is sorting the records designated as group columns; however, the detail columns are getting all messed up as far as what main record they're grouped under.
    By this I mean that when I designate only one break column, some details may display under the wrong group, where they're not supposed to. For example, each page consists of demographic info. about a specific record on a table, and the details listed under it should be the individual comments that have been made on that record. The issue I'm seeing is that for some records, it's showing comments from not only the record for that group, but it continues to list out comments made for other requests as well, when those comments should be displayed under their own respective records.
    Why is this happening when I designate only one break column, and how can I keep it from doing this?

    Did you get a solution for this?
    I have the same problem.
    Any help would be appreciated.
    Thanks,
    Madhu

  • Supress repeated labels in group Above reports o matrix group above reports

    Hi,
    I have a problem, because I´m brand new in reports.
    I've defined same reports.
    When I defined a Group Above Report or a Matrix with Group Above Report the labels appear repeated in the same page:
    Year 2006
    Level 1 Range 1-3 months 3-6 months 6-12 months
    Age
    < 16 1
    16-17 1 3
    18-24 12 6 2
    25 4 5 2Total Level 1: 17 14 5
    Level 2 Range 1-3 months 3-6 months 6-12 months
    Age
    < 16 1
    16-17 2 1
    18-24 8 12 2
    25 5 4 3Total Level 1: 15 17 6
    Is it possible not to repeat the labels "Range 1-3 months 3-6 months 6-12 months",? I want them to appear once per page.
    How can I do it?
    Please may anyone help me?
    thanks
    Beatriz

    Why should that be a bug? You have a custom requirement and have to find a way to fulfill it. But, what is your actual sorting order? Do you have only this three departments? If so, you could add an addtional column in your query like
    DECODE(DEPT,  20, 1, 10, 2, 30, 3, 4) SORTINGput that column in the same group as dept and sort after that new column.

  • Changing report order using the break order property

    I am trying to allow the user to pick the order of the report's data. This has lead me to ask the following questions:
    How can the break order property of a Database Column be set at runtime, specifically in the Before Report program unit??? (changing the order BY clause in the SQL query will not be sufficient because report builder enforces that at least one column�s break order in each Group, other than the lowest one, must be set at design time)
    How can the order of the Database Columns in a Group be re-arranged at runtime, specifically in the Before Report program unit???
    Thanks for any help that you can provide.

    Hi Kevin,
    I don't think that the "Break Order" property can be set programmatically, so it may not be possible to expose it to the users. I think it can only be an enhancement request to the product.
    Navneet.

  • Using Set Break Order property

    Hi,
    I create a Break Group with one column in the Data Model
    Open the Property Palette for the column and the Set Break Order property does not appear. However the Break Order property does appear and its values is asending or descending.
    Here's the definition for this property in Report Bulder Help "The Set Break Order Property is whether to set the order in which to display the column's values, using the Break Order property". This implies that if the Break Order property is set to something other than NONE, the Set Break Order is Yes.
    Another reference I have states " A point to be noted is that all break groups must have at least one column with the Set Break Order set to the Yes value".
    My concern/question is in all of the documentation I have read both properties appear, but only one appears in my environment. Am I doing something wrong? Is there a setting to be change to make both properties appear? I am using Reports 6i, on Win2000 and connected to an Oracle 8i database.
    Thanks in advance,
    Audrey

    Hi,
    This looks to be a documentation mistake. From Reports 3.0.5 onwards, We have removed the Set Break Order Property for columns and just added
    a "None" item to the Break Order property poplist instead. For columns which cannot be break columns, we do not even give the option of changing the Break Order from None to anything else. So just go-on desiging your Report with just one break order property, that is sufficient.
    Thanks,
    Rohit

  • How to display different text for labels in Group Above Report Oracle Repor

    Hello,
    Is there a way to change the text that is displayed in Labels in a Group Above Report? For example, I have a Group Above report with my columns of data and above the columns I have my column labels, but I would like to be able to display various text, i.e. different labels based on condition. In other words, Column1 label could say Column 1 or This is Column1, based on a condition. This is Oracle Report Builder 10.1.2.0.2.
    Thank you.

    968277 wrote:
    I'm thinking it is possible with a Format Trigger, but I've only ever returned (TRUE) or (FALSE). I am very new to Oracle Reports Builder. Thanks.Hi,
    Yes it's possible. and your are in the right place. use this true and false. For example
    /*true means display, false means don't display */
    if your_criteria_or_condition is ok then
    return (TRUE);
    else
    return (FALSE);
    end if;create as many label as your need and control with the code..
    Hope this works..
    Hamid
    Mark correct/helpful to help others to get right answer(s).*

  • Multi level Group Above Report

    I have a multi level Group Above report like this.
    School name : xxxx
    Course1
    Student1
    Student2
    Course2
    Student1
    School name : yyyy
    etc...
    No students are enrolled in some of the courses. I used the Outer Query in SQL to include those courses. Everything looks okay, except the header for the students are still appearing. how do I supress the student heading if no drecords are present?
    Can somebody help me.
    Thank you
    David Smith

    hello,
    you will have to create a counter, that tells you the numbers of students (summary-column, function : count, reset on : course) and create a format-trigger on the heading that hides it when the number of students is 0.
    regards,
    the oracle reports team --pw                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                               

  • Problem facing for Exporting a Group above report to excel

    Hello all any one can tell me How to set columns and rows of a Group above to report to export to excel.
    I have a group above report but when i export it to excel the Columns and rows are out of order.Tell me what type of sequence should apply on columns and rows?????????

    Adeel Aslam wrote:
    No Dear I mean I have called the Procedure of Exporting report to Excel On Each Field On Format Trigger.But whan i run it and Export it Then columns and Rows are out of Order on Excel sheet.I only want to know standard sequence that i should apply in smart trigger that the fields are shown in excel same like on report.
    RegardsI'm guessing you're not referring to SQL and PL/SQL then.
    Oracle doesn't have a built in procedure for exporting to Excel, so how the data is being ordered is going to depend on the code in that procedure and whoever wrote it. If you need more assistance you need to give us more details of what it's doing.

  • Urgent- Group Above Report

    Hi,
    I am facing problem in Group Above report this can be said in the schema of Scott as follows.
    I have developed group above report on Dept,Emp tables. It is showing all the data but the deptno =40 is not showing. The query used is
    select * from emp,dept
    where dept.deptno=emp.deptno(+)
    There I have also used formula column to calculate total salary for each department in front of each department. I case of dept no =40 it is also showing blank

    Hi Riaz
    The 'emp' table does not have employees in dept 40.
    Regards
    Sripathy

  • Multi-query group above report creates more pages

    Hi,
    I have a multi-query group above report (paper only), the parent group creates 5 rows(subframes) all onto the same page, but then creates 4 more IDENTICAL pages!!?
    at the end I have 5 repating frames and 5 pages.
    If I set Maximum Records per Page to 1, I have 5 pages (IDENTICAL) with the first frame only...
    any idea?
    cheers
    Matteo

    hello,
    you will have to create a counter, that tells you the numbers of students (summary-column, function : count, reset on : course) and create a format-trigger on the heading that hides it when the number of students is 0.
    regards,
    the oracle reports team --pw                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                               

  • Group above report problem

    hi,
    To get clear idea i am using emp table as an example.
    I am creating a report using style GroupAbove and save it in .jsp file.
    I took empno as group .
    My report was displayed in this way:
    page 1:
    empno 7369
    ename job sal comm deptno
    simth clerk 800 0 20
    empno 7499
    ename job sal comm deptno
    allen sales 1600 30 30
    ramu manager 4000 0 20
    and so on...
    page2 :
    empno 7499
    ename job sal comm deptno
    raju clerk 500 0 10
    empno 7599
    ename job sal comm deptno
    ramu worker 300 0 40
    ..... so on
    But My result should be in this way :
    page 1:
    empno 7369
    ename job sal comm deptno
    simth clerk 800 0 20
    empno 7499(problem :Here i dont want to display heading of ename.... and so on)
    allen sales 1600 30 30
    ramu manager 4000 0 20
    page 2:(if next page starts then should start with heading of ename... and so on)
    ename job sal comm deptno
    raju clerk 500 0 10
    empno 7599
    ramu worker 300 0 40
    ..... so on
    If any one know this probelm help me soon
    it's very urgent
    with regard's
    vijay

    You may have been better to use deptno as the group column in your example, since I'm not sure that grouping on empno makes sense (and hence makes the example difficult to picture).
    That said, it seems that the problem is that you only want the details headings to be displayed once per page (for a group above report). This isn't going to be too easy, and will require some coding, but bear with me.
    The first thing to do is to create a PL/SQL package with a single boolean variable in it. This will be used a flag to determine whether the headers should be displayed.
    In the before report trigger, set this variable to TRUE.
    In the format trigger for the frame containing all the boilerplate labels, check to see if the variable is TRUE. If it is then set it to FALSE, and return TRUE.
    If it's not then return FALSE (to suppress the display).
    In the between pages trigger set the variable to TRUE.
    Hope this helps (and that I've understood the problem),
    Danny

  • Group above report - help please

    Good Morning,
    I'm trying to create a group above report that resembles the following:
    LETTER TYPE: 00001
    BATCH TOTAL NOREPLY
    1234 3 1
    2345 2 0
    TOTAL VOL. FOR LETTER 00001 5
    I've tried using:
    select ltrtype, batch, count(reply)
    from ltr
    where reply = 'N'
    group by ltrtype, batch
    which does give me the correct figures under the NOREPLY Heading, but I can't get the correct figures for the TOTAL heading (NOTE: The figures in the TOTAL column should be a total of both the reply = 'Y' and reply = 'N' for the ltrtype and batch - the figures in the NOREPLY column should be a total of only the reply = 'N' for the ltrtype and batch.) I hope this explanation is clear
    I've also tried eliminating the where clause, but then I get the correct figures under the TOTAL heading, but I can't get the correct figures for the NOREPLY heading.
    I've also tried using two queries and a data link, but I couldn't get that to work either.
    Any help would be greatly appreciated.
    Thanks.

    Go to report wizard and check the groups and fields tabs. Otherwise map the repeating frames accordingly.

  • Is it possible to create group above report between to different data model

    Hi,
    I am having one problem.. I am working on Bi publisher 10...
    I have to create 2 different data models.. which i have done successfully.... its showing xml data perfectly.. but my problem is i want my 2nd data model to be dependent of 1st model...
    when i am designing my template ... i am not able to create a group by report..
    i want my report like this ...
    ------------------------------------------------------------ (fetching data from first data model)
    abc xyz pqrs
    --------------------------------now their it must show the data from second data model... dependent on first model...
    simply i want to know is it possible to create group above report between to different data models..

    Thanks for your response..
    I already tried this.. But its not working ..
    i want parent information from data model 1
    then all detail information related to parent template ...from data model 2..
    but its not working.. its giving me all parent informations first then all details informations..

  • Generate text file from a group above report

    i have problem in generating report in developer 6 report builder my report is master -detail(group above report)
    when i generate text file or csv file then my report is not in group above,master records are repeated along with every detail record.
    is there any solution that i generate group above report in text or csv file
    instead of pdf,rtf,html
    please mail me
    [email protected]

    Can you try adding this in your URL delimited_hdr=NO
    I am not sure it works.
    Just give a try

  • How to develop a group above report in mailing lable style

    i want to know the method to develop a group above report (multi level groups) in mailing lable style like yellow pages on reports 6i e.g.
    group 1: country
    group 2: province
    group 3: Industry
    group 4: product or service
    mailing lable: Company Name
    Address
    Contact No
    I will highly appreciate if someone can help in this regard
    M. Imran Shahzad
    [email protected]

    Post Author: V361
    CA Forum: Formula
    I am slightly confused, but perhaps you can create a formula
    Then group on the formula.  If this is not what you want, could you post some sample data, with the desired results.

Maybe you are looking for

  • Error in Downloading iTunes 9 on G5

    When downloading I get a message at the bottom of the Safari window that states an error occurred and to go to Window>Activity. iTunes continues to download. When I check Window>Activity, it states, "Frame Rate Interrupted." When iTunes completes the

  • Release Strategy for contracts.

    Hi gurus, Good day,. Please help on this. We have a release strat for Contract. It is working fine when a contract is created, but when several changes were made on the Quantity, release srtat are not being triggered. Example. Contact created with qt

  • UIScrollView doesn't deal well with subviews requiring touch tracking ...

    Just filed bug #6635485: If you embed a UITextField into a UITableViewCell you can't drag within the text field when it's the first responder (and the keyboard is up) and have the magnifier show up and drag with the touch. (I assume the same problem

  • Safari quitted unexpected with SDSFbundle

    I have used the uninstaller in SD5 documents and reinstall, but nothing changed. it always crashed when I kick right button of mouse in a blank page. I sent the report to Yazsoft, they really gave me some pieces of advice, but it still crashed. And t

  • Repairing Port 80 after enabling QTSS

    I was tinkering around with setting up QTSS on my OSX Server (10.6) and I stupidly clicked on the use Port:80 checkbox. This broke the Web Service on my server. Sadly... Apple did not seem to code anything so that unchecking the box returns port 80 t