REP-1213: field refers to the column at a frequency lower than his group

Is it possible to do a field that is located on a lower level group to be displayed in a group that is at a higher level in the report?

I have a field that is in a group of lower level on a report, and I want it to appear as a header, a group which is a level above his own group. The field must remain in the original group, but should not appear in the report as a column within the original group but should appear under the heading.

I tried and received the error REP-1213: reference field column to a frequency lower than his group, but how can I get what I want to do without getting this error? Is there a way to show this field in the header without moving in the group header? Should I create an alias or function or what and how?
Help, please.

user8655468 wrote:
Sorry, I do not seem to get to you. MY report has 2 groups of repetition. The first group student_name, course_code, course_name and the 2nd group academic_year, module_name, module_code and module_grade. Academic_year which is the 2nd group should appear as a Cape as well as the elements of the first group, but may not be moved from its original group because it goes with the modules. The report displays a history of modules of a 1st year student for the current year for the school year the header will present the current academic year for a student.

I do not understand how I should use a column of synthesis to achieve what I want to do. Please can you explain more. Thank you.

I think you know about the analytical column. If your school year is filed, you can use it to the analytical column. Being a function of synthesis sum. You take this analytical column to group 1 and select the source of the 2nd group. Then display the 1st frame.

Hope this will help you...

If someone useful or appropriate, please mark accordingly.

Tags: Oracle Development

Similar Questions

  • Does anyone else have a problem with the left speaker is much lower than the right?

    Any source that I use the left speaker is much lower than the left. If I put my finger on the right I can feel the pressure of air pushed but not by the left. Is it an iPhone defective 7?

    Hello, TopDog16!

    Welcome to congratulations on getting a new iPhone and Apple support communities 7.  From what I see in your post, you have any questions on the stereo speakers in your new iPhone.  I would be happy to help you with that!

    Indeed, your iPhone has holes on both right and left sides on the lower edge (on each side of the connector of the Lightning).  The holes on the right are only speaker on this edge of the phone, however.  The other speaker in the pair is at the top of the phone, where the cut is, just above the screen.  Check here to see if sound comes out.

    This page has a large diagram of the iPhone of 7 speakers (in the section entitled "Buttons and external connectors"): iPhone 7 - technical specifications

    Have a great rest of your week!

  • Organize PDF fields to populate the columns in the order in Excel

    I created a PDF form to transfer customer data received by the *.xml format, but the headers of the columns (field names) and data (field entries) fill on the same line in Excel.  Is there a way to define a the names of the fields to fill in a specific order in the first line and field entries to fill in the second row?  If not, is there a simple function to rearrange the data in Excel?

    Any help would be greatly appreciated.

    If you export data to a text file, it will be a file delimited by tabs that you can open in Excel with the field names in the first row and their values in the second.

    If you want to customize the order of the fields, you must use a script, however.

  • How to display the column single line with function of nested groups

    SQL > select deptno, Max (sum (sal)) SalSum
    2 of PEM
    3 Group of deptno;
    Select deptno, Max (sum (sal)) SalSum
    *
    ERROR on line 1:
    ORA-00937: not a single group group function

    Can you please help me to get the Max (sum (sal)) with Deptno...

    Or:

    select max(deptno) KEEP (DENSE_RANK LAST ORDER BY SalSum) deptno,
    max(SalSum) from  (
      select deptno,sum(sal) SalSum
      from emp
      group by deptno
    );
    
  • How can I keep the messages in chronological order, rather than having grouped them by sender name?

    After I opened a message, when I then refer to my Inbox, I find it has been grouped with other messages, by sender or subject line. As far as I know I do not ask for this and the messages stay in my Inbox in the chronological order in which they are received.

    The menu bar, select View-sort by Unthreaded

    No Menu bar? Press alt or F10 to bring up.

  • Why the imported videos have characteristics lower than the source of the videos?

    Hello!

    I do a video for the first time and am totally confused.

    I shot the videos with a digital SLR, videos 1280 x 720.

    I imported the video into Premiere Pro CS5, double click on a video imported so that it has been shown in a window, then I played this video, only to discover its quality was average poorer than the video source - color was inappropriate and there is more noise.

    What's wrong?

    I put the format of pixels in place, I will do 16:9?

    Any help will be rock :))

    Check the resolution of your reading. Its default value is set to 1/2.

    There is a button in the program monitor, it has three colors: red, green, and blue.

  • Error of REP-1213

    Hello

    I get the REP-1213 error: column 'F_5""NSN"field references at a frequency below his group.

    I went to REP-1213: F_1 field refers to the EMPNO column at a frequency lower than his band and found an answer here. The problem is, I'm not sure I understand the answer because I have tried what I think the answer is saying and still get the error.

    It is a report that has already been created (.jsp). I add just 2 fields to it. 4 previous groups there and I added a 5th one. The SQL in the group I created gets 2 fields, based on the parameters sent from Java programs. It compiles without error. When I go to the drafting of the report - layout of book, I have a line where are the 3 data elements that were previously on the report. I have the 2 articles I've created on this line. Under the Navigator object, layout of the document, main section, body and the section with the 3 Articles on the report editor - layout of paper, that's where I created 2 new items are (so all fields that are on the report editor - layout paper are in the same place). When you double-click the 2 articles I created, the Source field is the correct item.

    Any ideas?

    Thank you

    Victoria

    If you have added a new group in the datamodel, you also added a new extensible framework in the layout? The error you get States, you try to put a field in the group with the 'master' of the group is its located in. If the field won't appear once, but it has values different (one for each line of the Group's retail), and this is why it cannot work.

  • REP - 1213 reference frequency below his column group

    Hello

    In a report (6i) he demonstrated error like "REP - 1213 F_SUM_COLLECTIONS_RATIO field.
    Column CS_COLLECTION_RATIO at a frequency lower than the reference group.
    I know, it is a problem to repeat the image problem: -.

    1. How can I check this error? And how can solve this problem?

    Note: -.

    Structure of the report is like that: -.
    ---------------------------------------------------------------------------------------------------------------
    sales Man | Sales | Sales_ratio | Collection | Collection_ratio | Sales/Collection_ratio
    ---------------------------------------------------------------------------------------------------------------

    ----------------------------------------------------------------------------------------------------------------
    Total: 100% * 100% * %
    ---------------------------------------------------------------------------------------------------------------

    In this sales_ratio, the collection_ratio, the sales? Coll._ratio I added columns formulas Corr. and create summaries
    Corr. of columns each.
    This summary columns having some problem.

    Hi Ngoyi,

    Where did you create your analytical column fields? Seeing your example of report, it seems there is no grouping. In this case create an analytical column outside of the design of your query (extensible data block) and there, you can call the fields and set the property to reset to the report. Make sure, when you add these fields in the report, place the fields outside of your extensible framework.

    Concerning

    MP

  • REP-1248, all sources of placeholder columns must be in the same group

    Hi all

    I'm developing a (10g) report that contains three executives of repetition, say R1, R2, R3. Independent of each other, not connected or linked.
    I have a column defined in each summary of groups, G1, G2, G3, associated with R1, R2, and R3 to count the number of records in each group say. If the three groups count is 0, there is an another framework, I have defined, M1, containing the text as "No record found" that should be displayed.
    I can not access the summary columns defined in the format of M1 trigger groups because it is separated from R1, R2, and R3. So I created a column placeholder CP1, which recognizes the M1.
    But I'm not able to set the value of CP1 to the sum of analytical columns CS1, CS2, CS3 in the formula trigger of the CP1.
    I get the error:
    REP-1248 all sources of placeholder columns must be in the same group

    I also tried to set the value of the CP1 in CS1, CS2, and CS3 formula columns to get the same error.

    Is it possible to be able to use the analytical columns within the groups to have the feature above?

    Thank you
    Shruti

    create a place holder cp_1 in the external data model of all queries

    in each query, create a numerical formula
    with this code

    Start
    : cp_1: = nvl(:cp_1,0) + 1;
    Return 1;
    end;

    the nvl if she is not so necessary to the placeholder sets the initial value of zero

    then in the text frame properties go to conditional formatting
    Then create a new exception format

    cp_1 top to hide 0
    and then the work.

  • How to add scroll bar to the field in the column of the report

    Hello again,

    I need to add a scroll bar to the field in the column of the report in my application "form.

    There is a table with columns of text and sometimes a lot of information must be filled in these areas, and thus the overview of the report becomes unreadable, because all rows have different heights according to the amount of text has been filled.

    What I want is to make all lines with the same height, and if there is more text in a field that can allow a height - a scroll bar appears so for this specific domain.
    Is it possible to do?

    Thank you in advance.

    Hello

    OK - it is important that tell you what type of report that you use like this makes a difference to what is possible!

    For interactive reports, you cannot use a CSS stylesheet in the same way with respect to normal relations. The easiest way is probably to include a complete div in your SQL statement directly. Something like:

    select      ID as "ID",
          '
    ' || "MY_BIG_FIELD" || '
    ' as "DETAILS" from TABLEX

    This will put the data in this column in the individual DIV tags, and then apply the style from the example of the Dene.

    Andy

  • Referring to the value of a text field, not the legend

    How to refer to the value in a text field to make the data entered by the user "BOLD" / no fat without the caption of a field text in bold or not bold?

    Hello

    Two lines should do. The first turn the caption and the "BOLD" value, then the second changes the legend of back to normal:

    TextField1.font.weight = "bold";
    TextField1.caption.font.weight = "normal";
    

    Hope that helps,

    Niall

    Ensure the dynamics

  • Referring to the dynamic cursor rows and columns in SQL

    I have a procedure that dynamically reads a schema name and a table name in a table entry. The code must loop through all the rows and the columns in each table and the output data. I'm done with what I want to achieve 95%, but there is a little bug. The dbms_output.put(*col.column_name* ||) line '',''); ' ||
    return to something like rec.col.column_name , so that it is the column of the current record. Currently, it simply displays the name of the column for each record instead of the actual value. Can someone help me to change the code to get the real value?

    CREATE OR REPLACE PACKAGE BODY some_proc
    -Function and procedure implementations
    PROCEDURE create_files IS
    CURSOR c_tbls IS
    SELECT * FROM tbl_list;
    l_sql VARCHAR2 (4000);
    BEGIN
    -To loop through all the tables
    FOR tbl IN c_tbls LOOP
    l_sql: = "DECLARE" | «C_tbl_recs CURSOR IS» | ' SELECT * ' |. '
    'FROM ' | tbl.schema_name | '.' || tbl.table_name | '; ' ||
    ' t_tbl_rowtype c_tbl_recs % ROWTYPE; ' || "START" |
    "FOR rec IN c_tbl_recs LOOP |
    ' FOR col IN (SELECT column_name ' |)
    "FROM dba_tab_cols" |
    "Owner WHERE ="' | " tbl.schema_name | '''' ||
    ' AND table_name = "' | tbl.table_name | '''' ||
    ORDER BY column_id) LOOP '.
    *' dbms_output.put(col.column_name ||) '',''); ' || * "END OF LOOP; dbms_output.put_line('''); END LOOP; ' ||
    ' END; ';
    -dbms_output.put_line (l_sql);
    EXECUTE IMMEDIATE l_sql;
    END LOOP;
    EXCEPTION
    WHILE OTHERS THEN
    dbms_output.put_line (SQLERRM);
    END;
    END;

    Is this what you are looking for?
    (it took a few minutes)

    create or replace
    package some_proc is
    procedure create_files;
    end;
    /
    
    CREATE OR REPLACE
    PACKAGE BODY some_proc
    IS
      -- Function and procedure implementations
    PROCEDURE create_files
    IS
      CURSOR c_tbls
      IS
        SELECT * FROM tbl_list;
    
      CURSOR c_cols (p_table_owner VARCHAR2, p_table_name VARCHAR2)
      IS
        SELECT column_name
        FROM all_tab_columns
        WHERE owner   =p_table_owner
        AND table_name=p_table_name
        ORDER BY all_tab_columns.column_id;
    
      l_sql     VARCHAR2(32000);
    
      separator VARCHAR2(1):=';';
    
    BEGIN
      --Loop through all tables
      FOR tbl IN c_tbls
      LOOP
        dbms_output.put_line('TABLE: '||tbl.schema_name||'.'||tbl.table_name);
        l_sql := 'DECLARE ' ;
        l_sql := l_sql|| '  CURSOR c_tbl_recs IS ' ;
        l_sql := l_sql||'    SELECT * FROM ' || tbl.schema_name || '.' || tbl.table_name || '; ' ;
        l_sql := l_sql||'    linenr number:=1; ';
        l_sql := l_sql||'BEGIN ' ;
        l_sql := l_sql|| ' FOR rec IN c_tbl_recs LOOP ';
        FOR c IN c_cols(tbl.schema_name,tbl.table_name)
        LOOP
          l_sql:=l_sql ||' if linenr=1 then  dbms_output.put('''||c.column_name||''||separator||'''); end if; ' ;
        END LOOP;
        l_sql :=l_sql||'  dbms_output.put_line(''''); linenr:=linenr+1; ';
        FOR c IN c_cols(tbl.schema_name,tbl.table_name)
        LOOP
          l_sql:=l_sql ||' dbms_output.put(rec.'||c.column_name||'||'''||separator||'''); ' ;
        END LOOP;
        l_sql:=l_sql||'  end loop; ';
        l_sql:=l_sql||'  dbms_output.put_line(''''); ';
        l_sql:=l_sql||'  dbms_output.put_line(''''); ';
        l_sql:=l_sql||'end;';
        EXECUTE IMMEDIATE l_sql;
      END LOOP;
    EXCEPTION
    WHEN OTHERS THEN
      dbms_output.put_line(SQLERRM);
    END;
    END;
    /
    
  • JavaScript - referring to the value of the report column

    Hello

    In my application, I have a 'Test' relationship with some columns. In the "PFT_PCODE" column values can be 1 or 2.
    What I want is to display report in red table cell, if the "PFT_PCODE" value is 1, or table at orange cell, if the "PFT_PCODE" value is 2, respectively.

    I tried to do something in Javascript, based on the example of a Vikas. I put in the

    Header of the region:

    < style type = "text/css" >
    {.rot}
    background-color: red;
    }
    .Orange {}
    background-color: orange;
    }
    < / style >


    Footer area:

    < script type = "text/javascript" >
    var spans = document.getElementsByTagName ('span');
    for (var j = 0; j < spans.length; j ++) {}
    If (spans [j] .className == 'farbe') {}
    var td is html_CascadeUpTill (spans [j], 'TD');.
    If (document.getElementsById('#PFT_PCODE#').value == 1) {}
    td.className = "rot";
    }
    else {}
    td.className = 'orange ';
    }
    }
    }
    < /script >

    The "PFT_PCODE" column is marked as "farbe" CSS class

    Unfortunately it does not work, I do not know if I have the right to report to reference the column value. Since I'm a newbie in Javascript, I'd be happy to help.

    I put my request (reduced) on apex.oracle.com for the test.
    Workspace: app
    Login: [email protected]
    PW: riponi

    Thanks in advance,

    Roger

    Hello

    OK - the problem is that some of your columns had tables in the cells and it was upsetting the javascript!

    I have changed the script:

    <script language="JavaScript" type="text/javascript">
    <!--
    
    function hilite(f1)
    {
     var h = document.getElementById(f1);
     var t = h.parentNode;
     while (t.tagName != 'TABLE')
     {
      t = t.parentNode;
     }
     var rows = t.rows;
     var k;
     var j;
     var c;
     var headers = t.getElementsByTagName("TH");
     for (k = 0; k < headers.length; k++)
     {
      if (headers[k].id == f1)
      {
        c = k;
      }
     }
     for (k = 1; k < rows.length; k++)
     {
      j = rows[k].cells[c];
      if (j.innerHTML == '2')
      {
        j.style.backgroundColor = 'purple';
        j.style.color = 'yellow';
      }
      if (j.innerHTML == '1')
      {
        j.style.backgroundColor = 'red';
        j.style.color = 'white';
      }
     }
    }
    
    //-->
    </script>
    

    and it seems to be ok

    Andy

  • Unable to store the component "time" in the column date Oracle's ADF

    Hi friends,

    I have a table with the date column. I'm trying to set the current date with the time in the column of the table. Java.sql.Date refers to the field of the VO. When I try to turn it using the setLastUpdatedDate() it not be saved. The time is get truncated and the time is saved is 16-mar-2015 00:00:00.  How can I keep the component "hour" as well in the column with the date data type. FYI the component "hour" is saved when I do the sql uisng the insert.

    JDev version is 11.1.1.7.0

    Thank you

    Hello

    java.sql.Dateis the DATE of SQL which means it stores years, months and days whilehour, minute, second and millisecond are ignored. Also sql.Date is not related to time zones.

    java.sql.Timestampcorresponds to the SQL TIMESTAMP, which is the exact nanosecond (Note that util.Date only supported milliseconds!) with customizable precision.

    try to use the timestamp if you want exact

  • Get the index of the column of table removed

    Is there a way to get the index of the column in a 2D table that has been deleted? In my application, the user has the possibility to use the right click option 'remove a column' on a 2D picture, but I would like to use this information to remove the same column in a different table programmatically. Is this possible?

    There is a file published in the documents of the community that refers to a location in a sheet of the user has clicked.  Use it like the image below.

    https://decibel.NI.com/content/docs/doc-22434

Maybe you are looking for

  • where is the Clipboard and how to use it

    I recently bought a 'new' MacMini (2014 model) with El Capitan, OS X10.11.3 My questions: 1. where is the Clipboard, literally how to find it and how do I enter?  Never used before. Don't type "Clipboard" in give Spotlight help is not usable. 2. I th

  • Gmail password refused

    Have had no problems with Gmail on my pre for 2 weeks and then my pre refused to check my Gmail account because of a password incorrect/ID.  My calendar is working proper and updated.  I deleted the Gmail for my email account and now it will not allo

  • Strange behavior of scroll on the façade

    Hello I have a vi that produces strange things: I activated all the scroll bars on the properties of VI, but I do not have yet in edit mode until I click on 'tile left-right Up-down' and then resize to full screen. What can be the cause of this behav

  • HP officejet pro 8600 wireless twain

    I just got the 8600 pro more great work. Question: My Bank has now set up make the audits by the scanner. does not work, they were told my twain may not be wireless? I called HP and did not get a response. Is the twain wireless or is the Bank get blo

  • Password Reset Wizard

    Hi, I am trying to reset the password on one of my other laptops, I changed it and I completely forgot. It works under Windows Vista, how ever I use the password reset Wizard, and when I'm trying to change passwords, it comes up with "an error occurr