Adding a field to a Repeating Frame in Oracle Reports

Hi,
I have a report that has 4 repeating frames. At the lowest level (Level 4), I have several fields to do with school swimming sessions - Session Start Time, End Time etc..
I want to add a field to that frame for Session Notes, and have tried doing this by going to the Layout Model, selecting an existing field (e.g. Start Time) and doing a copy & paste into the Layout Model, with a view to then renaming it and changing the Source to Session Notes.
However, each time the new field is being created at School level (this is the Level 3 repeating frame) - obviously then when I attach the Session level column as the source for my new field, I get a field referenced "at a frequency below its group" message.
Any idea how I create a field in the Level 4 group?
Many thanks,
Keith.
PS I am using Oracle Reports v6

Before adding the items for the level4,create a repeating frame and put the right source to the repeating frame.
After doing this,put the items on this frame,and they will be level4 items.
It should work
aguero

Similar Messages

  • Adding a field to an sql statement in Oracle Reports error ORA-00933

    We have been requested to add a field that already exists in the table referred to by the sql statement in Oracle Reports Builder. The report was set up by a consultant about 3 yrs ago and we don't really have much skill in this area. What is happening when I try to modify the SQL statement, either adding a field or deleting a field to the SELECT statement, causes an error message preventing the statement from being saved. The only way out of the error message is to click Cancel. The error message is
    ORA-00933:SQL command not properly ended
    ORDER BY Program ==> NAME
    Even adding or deleting a space anywhere in the SQL statement causes the error (not adding any new fields). A coworker found that if we comment out the ORDER BY, the statement will accept the new field in the SELECT section, however then we lose the order by functionality. I would like to add one additional field before the FROM. Not sure if any additional data are needed. Thank you.
    SELECT p.person_uid PIDM_KEY, p.id_number ID,
                   p.full_name_lfmi name,            
                    p.BIRTH_DATE, p.GENDER Sex,
                    Decode(a.residency,'D',p.Primary_ethnicity,'F')  Ethn,
                    a.academic_period TERM,        
                    CASE WHEN :p_group_by = 'PROGRAM' THEN a.program
                                 ELSE ' '
                    END AS Program,
                    a.COLLEGE, a.degree, a.major, ' ' rule,
                    a.STUDENT_POPULATION,a.STUDENT_LEVEL,    a.application_status Status,  a.application_status_date app_sts_dte,
                    ad.decision_date1 Last_Dec_Date,
                    ad.decision1||' '||ad.decision2||' '|| ad.decision3||' '|| ad.decision4||' '|| ad.decision5 Decisions,
                    /*  Deposit Date uses the last term entered in :p_term parameter string */
                    (SELECT MAX(deposit_effective_date) FROM usf_as_deposit WHERE account_uid = a.person_uid &term_clause group by account_uid)   AS "DEPOSIT DATE",     
                    ph.phone as PHONE,
                    CASE WHEN PS.FIRST_CONTACT IN ('NET','PAP','COM','COP') THEN PS.First_Contact
                     ELSE CASE WHEN ps.latest_contact IN ('NET','PAP','COM','COP') THEN PS.Latest_Contact
                                ELSE '  '
                                END
                    END AS FIRST_CONTACT,
                    DECODE(:p_address,'Y',REPLACE(adr.street1||' '||adr.street2||' '||adr.street3||' '||adr.city||','||adr.state||' '||adr.nation||' '||adr.zip,'  ',' '),' ') as  address, adr.nation, adr.state,
                    goremal_email_address email, a.residency, a.application_date, p.primary_ethnicity, c.cohort
    FROM MST_ADMISSIONS_APPLICATION A,
               MST_PERSON p,mst_pre_student PS,  Admissions_Cohort c, usf_v_phone_pr_ma ph,
               MST_admissions_decision_slot AD, usf_v_email, usf_v_address_dr_lr_ma_pr adr
    WHERE a.PERSON_UID = p.person_uid
            AND a.curriculum_priority  = 1
            AND a.person_uid = ps.person_uid
           AND a.person_uid = ad.person_Uid(+)
           AND a.person_uid = goremal_pidm(+)
           AND a.person_uid = adr.pidm(+)
           AND a.person_uid = ph.pidm(+)
           AND ph.rnum(+) = 1
           AND a.person_uid = c.person_uid(+)
           AND a.academic_period = c.academic_period(+)
      &Where_Clause
           /*    TAKE OUT FOLLOWING LINE AFTER DATA IS CLEANED UP  */
            AND NOT(p.id_number = '00000000'   OR SUBSTR(p.id_number,1,1) = 'B'  OR UPPER(p.full_name_lfmi)  LIKE '%TESTING%')
           AND  a.application_status_date >= NVL(:p_as_of_date,sysdate-8000)
           AND a.academic_period = ad.academic_period(+)
            AND a.application_number = ad.application_number(+)
            AND a.degree <> 'ND'    /*   AND a.college <> 'LW'                         --  Does not need non-degree and law students    */
           &Cohort_Clause 
    ORDER BY Program  &ORDER_CLAUSE

    Hi Denis,
    I tried your suggestion. The good thing is that adding the comma allowed me to be able to add a.campus to the select statement, unfortunately, another error message happened.
    ORA-00936: missing expression SELECT p . person_uid PIDM_KEY ,
    p . id_number , p . full_name_lfmi name , p . BIRTH_DATE , p . GENDER Sex ,
    Decode ( a . residency , 'D' , p . Primary_Ethnicity , 'F' ) Ethn , a . academic_period TERM ,
    CASE WHEN : P_group_by = 'PROGRAM THEN a I started over and tried only putting in the comma and get the same message even though I didn't add campus. After that, removed the comma which led to the ORA-00933 error message. So once again, I had to close the file without saving, in order for the report to run at all.

  • How can I add a field to a Repeating Frame in the body of a 9i Report

    How can I add a field to a Repeating Frame in the body of an Oracle 9i Report whose source is in a higher group?
    I want to change an Oracle 9i report. The report has no header or trailer but only a body. The body has the parent frame fields & a repeating frame with four fields, A, B, C & D. They all seem to be in one group. I want to add another field E to the repeating frame whose source is from the 'header'.
    I added the field & created a boiler plate & then added the new field, E to the original group A, B, C & D. In the Property Inspector for the field, I pointed the source to the source column in the main query. However, when I run the report, I receive the error "Invalid body size". Some notes on Metalink indicate that this could be due to margins being out of the printable area.
    Moreover, after making the changes & after having unsuccessfully run the report, when I try to open the Page Layout for the report, I get no details.
    Thanks,

    Hi,
    i also got same query can u pls tell me elaborately, if u can can u pls send some code.
    Thanks & Regards
    Jagadeeshwar.B

  • How Do I add new fields to Repeating Frames in existing Report

    Hi,
    How do I add new fields to Repeating Frames in existing Report. The Report has 2 GRPFR, 1 HDR and 2 Repeating Frames. I would like to add a new field(column) to inner most repeating frame. I added the new golumn to QUERY and GROUPs in Data Model. After adding the new column to inner most Repeating Frame in Layout Model, the Layout model is losing all other frame and it is showing only the modified one.
    How do I add new column to repeating frames without disturbeing other frames.
    Any hellp will be appreciated!!!!!!!!!!!.
    I am using Oracle Reports 6i.
    Thanks,
    Ravi.

    you must work in your layour editor
    expand your repeating frames do it more big
    for add your new items or field. after you inserted or add, can you put more little your repeating.
    too can you to do one copy of one field in your repeating frame and assign it in his source your new item in your data model.
    normally i begin with the principal frame and go one by one internally.

  • How to put non-repeating field in a repeating frame?

    I have a formula field that creates the header for a list in a repeating frame. I seem to be in a quandary though-if I include the field inside the repeating frame the header gets repeated. If I put it outside the frame I get an error 'Field references Column at a frequency below its group'. If I move the formula column to the parent query it works except in the case where the child query returns no rows-then I get the header with no data.
    So, I either need a way to display the header inside the repeating frame, but only once, or I need a way to suppress the header when the child query returns no rows.

    So, I either need a way to display the header inside the repeating frame, but only once, or I need a way to suppress the header when the child query returns no rows.You can try one idea. Keep the formula column in detail group and create one more summary column as serial number for the detail records so in repeating frame place that field (formula column) in repeating frame and use the PL/SQL code for that field as below...
    IF :serial_no = 1 THEN
      RETURN TRUE;
    ELSE
      RETURN FALSE;
    END IF;Then it should display for the first record only.
    -Ammad

  • Hiding Text Fields Outwith a Repeating Frame

    Hi
    I have a set up where a row of data fields are within a repeating frame but the text headings are outwith the R frame because I do not want the headings to repeat.
    How can I set this up so that if the main data fields is null then return false for the text headings?
    I am finding this difficult because the text headings are outwith the repeating frame so I can't manage to reference to within the repeating frame (i.e. when field is null return X) using the format trigger.
    Any valuable feedback on how to comlete this otherwise simple problem would be very much appreciated?
    Andrew

    To continue
    E.G. Data row 1 is parent, data row 2 is child, data 1 has 2 child records:
    Heading 1 for data 1
    Data1
    Heading 2 for Data 2
    Data 2
    Data 2
    Than if there is another parent row the Data 1 repeating frame breaks and continues as below but this time there is no data 2
    Heading 1 for data 1
    Data1
    Heading 2 for Data 2
    And the heading is still there but no data.
    Andrew

  • Format Fields in a Repeating Frame

    Hi All,
    I have a repeating frame with multiple fields in it. I was trying to change font and size of those character fields when some parameter changes. If I put the "if ... then.." in each field's format trigger, it worked. Since those fields are included in the frame, I was thinking can I just use frame's format trigger to change its fields attributes? Is there anyway I can refer to individual field while using srw functions?
    Thanks a lot for any help.

    Typically you want to use the following order when dealing with how to manipulate data:
    - do it on the server
    - do it in the data model
    - finally, do it in the layout
    If you do want to do this in the layout, then you'll need to keep track of the the previous value in a PL/SQL package variable and set this value in the format trigger. You can then reference the previously set value on the next instance of the repeating frame.
    However, this creates difficulties since a format trigger for a single instance of an object may execute more than once (basically when it doesn't fit on the previous page). To get around this problem, you'll need a count column in the data-model to check when you need to update the package variable value in the format trigger.
    If you can, take a look at changing your data to calculate this value and just display it in the layout.

  • Setting background image for repeating frame in .pdf report

    Is it possible to set a background image for a repeating frame, and more specifically for a repeating frame rendered in .pdf?
    I do not see any standard property in the navigator for images of any sort and the documentation touches only on setting background images for graphs, which is not the intent in my case. I -did- add an HTML table property background="myimage.jpg" but the report is ultimately generated in .pdf format and I was not surprised to see that the image was not rendered.
    Does anyone know if setting a background image as described is even possible, and if so, how? A second but less optimum solution would be setting the image as the background for all report pages, again in .pdf.
    Many thanks.

    Hi Raj,
    Yes you can have an image in the background. Thats possible if you are using XML forms as an iview or ivew dev in WebDynpro...
    Also check this [link|regarding background color change in iview]
    Regards,
    Piyush
    Reward points if this helps!!!

  • Adding Additional field "Supplier name" & "Supplier No" in MB5B Report?

    Can i add the above stated two additional fields in the standard report of MB5b, is there any implicit enhancement in the standard report which can help achieve my objective?

    Hi,
    The possibility to include additional fields in the report MB5B is       
    limited to MSEG, just as you can see in the text of the                  
    report RM07MLBD_CUST_FIELDS itself:                                                                               
    This include contains the structure for additional fields for report 
    RM07MLBD ( transaction MB5B )                                                                               
    the following fields are not shown in the list of report             
    RM07MLBD                                                             
    If you want to insert some of these fields in the list of the        
    hidden fields delete the '*' in the type definition.                 
    >>* There are only fields from database table MSEG possible <<<<<<<<<<<  
    Please use only the following fields, because these fields           
    are considered during the creation of the field catalog;             
    plaese consider, that each active field will cost performance                                                                               
    If you need to add aditional information from other tables, like the     
    Reference Document Number you will need to  build your own query.    
    Regards,
    Mauro

  • Error while trying to expand the frame in oracle report...

    Hello
    I have standard report "Material Account Distribution Detail" in 11.5.10 in INV module and I want to customize the report which i want to add few more fields.
    Current width and height of the"Main Section" under Layout Model is 15 and 8.5.
    What I tried is i increased the width of the Main Section to 20 and I tried to run the report and it error out saying the error as "REP-1219: 'M_value_range1' has no size -- length or width is zero." I have not touch the any frame, I just tried to increase the width to see whether it works or not...
    How to fix this issue and how to increase the frame size so that I can able to add few more fields...
    Note: Concurrent program output print style is 'BACS'
    Thanks!!!

    Hi
    Try to increase just by 1.. and see what causing the problem
    If any page number - remove and do it again.
    However try below
    ERR REP-1219: 'R_1' has no size -- length or width is zero.

  • All fields same height in repeating frame

    Hi,
    If I have multiple fields inside a repeating frame and all fields and the frame are set to vertically expand, how can I force all fields to be the same height as the highest field so that everything looks equal in height even though there may be less text or no text in some fields?
    Thanks

    Hello!
    If you use expand property to all fields they can't be at same height.
    You mast set the property to fixed and set equal height to all fields on the canvas.

  • How to get the values from repeated frame?.

    Hi
    how to get the values from repeated frame?. i have to disply the first 3 digits in another place in my report.
    i have field empno in repeated frame and i want to disply first 3 digits in another place in the same report.
    thanks

    How often do you need to display it? It sounds like you might want to base a summary on that formula with a function of first or last. If it's a per page basis, it can be a page level summary. If it's at a higher level repeating frame, then you can create the summary at that level. I'd suggest taking a look at the online help for summaries using the first/last functions.
    Hope that helps,
    Toby

  • Repeating Frames Resizing Issue

    Hello,
    I've been using Reports 6 recently having been using Reports 10 up until now, and I've got an issue in the Report I'm currently working on.
    When I try to resize any of the repeating frames on the report, they appear to default to a much large size...example...
    If I have a repeating frame containing 1 field and I try to reduce the size of the frame so it fits snugly around the field, as soon as I click on one of the draghandles on the frame, it immediately resizes the frame horizontal or vertical (depending on what draghandle is used). So far, this has just been annoying more than anything else and I've generally been able to avoid any problems by simply undoing the change, or redrawing the frame.
    Has anyone else experienced this? Is there a setting off in my version of Reports? Or is this a general problem?
    Thanks

    Thanks for your feedback.
    The reason I have 4 repeating frames is because each frame belong to a different group.
    <SOME TEXT> is infact set to vertical expand.
    I came up with a solution by using a 5 lines that stretches with FRAME 2 and set no lines
    property for FRAME 3. That way FRAME 3 repeats 7 times horizontally, one in each box created by the lines with FRAME 2. Thus when FRAME 2 expands, the expanding lines creates the 7 horizontal boxes.

  • Repeating frames...simple problem

    I am new to Oracle Reports and have run into a simple issue which I am not able to fix.
    Suppose that I’ve a table Numbers as shown below:
    SQL> desc numbers
    Name Null? Type
    COL1 NUMBER
    SQL> select * from numbers;
    COL1
    1
    2
    3
    4
    5
    Now I want to build a report manually(not using the wizard).
    In the datamodel I’ve given the query as (select * from numbers).
    In the layout model I am having one field and a repeating frame pointing to the group of the query. When I run the report it shows
    1,2,3…on different pages but I want all of them on the same page. I am not sure which property to set, I’ve tried the maximum records per page for the repeating frame but it doesn't help!
    If I build the layout using the layout wizard then I am able to achieve the desired results but I'll still like to know which properties exactly control this behaviour.
    Thanks in advance.
    Regards.

    Three ideas -
    Your repeating frame is as large as a full page and the elasticity is set to fixed.
    You have page protect set to on.
    You have a page break set before or after.
    Easy enough to create the two reports and compare the properties in the property palette.

  • Repeating Frame Problem - please guide

    Dear Gurus,
    I am developing a report in reports 6i. The structure of report is something like this.
    M1
    R1
    f1
    f2
    R2
    M1 is a fixed frame containing all other elements. R1 is repeating frame containing
    2 fields and one repeating frame.
    Now while printing records of R2 overflow to next logical page. that's fine but space of f1 and f2 also get repeated on to next page.
    To give an analogy :-
    Purchase Order Report
    po number - f1
    supplier - f2
    po lines -r2
    next page
    empty space present ( equal to the required fields r1 and r2 )
    po_lines
    Now point is i want the Po lines to continue without the space for fileds for f1 and f2 repeating.
    and yes i kept vertical elasticity for M1,R1 and R2 as variable.
    How can i solve it.
    please guide.
    regards ravi

    Print Object on property it is "First Page". the structure is like
    <code>
    M1
    R1
    f1
    f2
    R2
    </code>
    Problem is when r2 overflows to next page, the space for f1 and f2 is also there on next page. What i want is content of r2 should come at the start of the page rather than at the location where its fixed when it's overflowing to next page.
    regards

Maybe you are looking for

  • Issue MM PO Archiving

    Hello all, we had an issue in archiving Purchase Orders. Frist of all, we have a large number of open purchase orders. Means that the "delivery complete" flag is missing and the "final invoice" flag is missing. These PO´s cant be deleted. So these fl

  • SAP B1 + NFe. Erro: O documento XML não está em conformidade com o esquema.

    Olá pessoal, Estou fazendo testes com a Nf-e do SAP B1 9.0 PL 11. Segui o documento How to Work with SAP Nota Fiscal Eletrônica in SAP Business One.pdf, e fiz todas as configurações necessárias. Inclui um certificado digital, e estou realizando teste

  • How to restore files in "CMD+R"mode,OS X Lion won't boot

    Hi ,i've been trying to figure this out for a week now ,i'd appreciate any help. So i did all the basic stuff , I repaired permissions , repaired the disk ,AND most importantly i tried to re-install OS X Lion several times but it won't let me ,it say

  • OnDemand Analytics:  how do I add 2 conditions on a filer ?

    Hi, I have a service request report that has shows all the SRs for each user and would like to show in the last column that the SR is Overdue if the Status = Closed AND if the Due Date (a custom field) is less than today's date. I can use the case st

  • Open in an old version

    My graphics guy used InDesign CS3 to create a brochure for me. I have InDesign 2.0 on my computer. Is there a way he can export it so that I can edit it on my computer. I've been unable to open either the .inx or the .indd files that he has sent me.