Number of records in repeating frame

Is there a way to assign number of records per page to a repeating frame
at runtime?
thanks

thanks for your input, but the reason I can't define the number of record in the
property inspector is because i can't tell how many records will be retrieved until
runtime.
I am looking for a way to say:
if condition = this then
total records = 30
elsif condition = that then
total records = 28
and so on...

Similar Messages

  • How i get number of record in repet frame?

    Hi,
    How i get number of record in repet frame?
    Regards
    Jomar

    Jomar,
    you can use Summary Columns in the Data Modell. Create them on group higher that your wished group (so on the pane for an first group of a query), use as Source the primary column and as reset at the group, where the summary column is located.
    If you hide some instances via format triggers, that you could use a counter inside the format triggers to count the rows.
    Regards
    Rainer

  • How to find out no. of records or repeating frame in a page

    Hi All,
    How do I find out how many records have been displayed on a particular page?
    I'm having a repeating frame, and I want to know print another item, on a condition that if the records printed on the page are less than 5 then it should be printed otherwise not.
    The item to be printed is not a part of the repeating frame whoz occurences have to be counted.
    Regards
    Naveen

    Hi Naveen
    You can create a Packaged varaible that acts as
    global variable , and you can increment this
    variable in the repeating frames Format Trigger .
    Based on the value of the variable , you can
    return true or false for the item that you want to
    display .

  • Text/Label issue - being repeated for every record inside repeating frame.

    Hi
    I have a small issue:
    In the repeating frame, the label (text) for the column is being repeated for every record. How may I have the text (label) appear just once and not for every record?
    Thx!

    Move headings outside of the repeating frame.

  • Conditional formatting based on page number that resets on repeating frame

    Hello everyone,
    I have searched through multiple forums on multiple sites and haven't come across anyone who has accomplished this.
    I have a report with pages numbers that reset on a repeating frame.
    I have a text boiler plate that I want to only show up on page 1. On every occurrence of page 1.
    SRW.GET_PAGE_NUM does not work because it returns physical page number.
    I'm trying to access the value of the field for my page number. The value comes from "source" drop down with value of "Page Number".
    I've tried accessing the <&page number> in the PL/SQL of my conditional formatting trigger but no luck.
    This report is 14K plus pages so I'd rather not be inserting and selecting the value back out of the database.
    Does anyone have any ideas??
    Thanks,
    Alan

    To avoid inserting/selecting from the database
    Maybe you could create a small package on the database to store page numbering information.
    Then use get/set routines per your requirements.
    CREATE OR REPLACE PACKAGE rep_page_no IS
       gPageNo NUMBER;
       PROCEDURE set_it(pPage NUMBER);
       FUNCTION get_it RETURN NUMBER;
    END rep_page_no;
    CREATE OR REPLACE PACKAGE BODY rep_page_no IS
       PROCEDURE set_it(pPage NUMBER) IS
       BEGIN
          gPageNo := pPage;
       END set_it;
       FUNCTION get_it RETURN NUMBER
       IS
       BEGIN
          RETURN(gPageNo);
       END get_it;
    END rep_page_no;Then in your repeating frame you could access this package rather than insert/select from any database table.
    Let me know if this works, I might like to try it.
    Thanks

  • Layout problem - multiple repeating frames

    Hi, I have a layout problem, pls help!
    Short report description:
    - Repeating Frame1 - gives 1 record, contains all other frames, variable vertical elasticity
    - - Frame2 - contains all frames beneath - variable vertical elasticity
    - - - Frame3 - variable vertical elasticity
    - - - - some boilerplates
    - - - - Repeating Frame 2 - various number of records, fixed vertical elasticity, height 100
    - - - - Repeating Frame 3 - various number of records, fixed vertical elasticity, height 30
    - - - - .. other repeating frames ..
    When reaching the bottom of a page, and there is not enough room to print a record for Repeating frame 2, a record from Repeating frame 3 is printed in the bottom.
    Next page starts with the remaining records from Repeating frame 2.. and then the remaining records from Repeating frame 3.
    For example:
    Page 1:
    Rep frame 2 - Record 1
    Rep frame 2 - Record 2
    Rep frame 2 - Record 3
    Rep frame 3 - Record 1 -- not enough space to print Record 4, so this record is printed
    Page 2:
    Rep frame 2 - Record 4
    Rep frame 2 - Record 5
    Rep frame 3 - Record 2
    How can i ensure that all records from Rep frame 2 is printed before records from Rep frame 3?

    Hi, thanks for helping me out!
    I tried to use anchors, but they had no effect when connecting top of 3 to bottom of 2, got the same layout.
    I then tried to create frames with vertical elasticity expand around both rep frame 2 and rep frame 3, and it seems to do the job.
    - Repeating Frame1 - gives 1 record, contains all other frames, variable vertical elasticity
    - - Frame2 - contains all frames beneath - variable vertical elasticity
    - - - Frame3 - variable vertical elasticity
    - - - - some boilerplates
    - - - - Frame 4 - vertical elasticity expand
    - - - - - - Repeating Frame 2 - various number of records, fixed vertical elasticity, height 100
    - - - - Frame 5 - vertical elasticity expand
    - - - - - - Repeating Frame 3 - various number of records, fixed vertical elasticity, height 30
    and so on..
    Thanks again

  • Repeating Frame

    Hi,
    I have a report with the following design
    TEXT1
    REPEATING FRAME
    TEXT2
    TEXT3
    If the repeating frame query return too many records, the REPEATING FRAME is pushing TEXT2 to a second page, which is correct.
    The problem is that TEXT2 is pushed to a second page but its not started from the beginning of the page, its coming in the middle of the second page where there are too many empty lines.
    I noticed that TEXT2 is pushed to a second page exactly where the REPEATING FRAME started in the first page! i.e. the REPEATING FRAME started at 2.5 inch from top of the first page, the TEXT2 is pushed to a second page at 2.5 inch from top of the second page.
    I solved this problem by setting Vertical Panels per Page in Main Section to 2 instead of its initial value 1
    But another problem shows when TXET2 is pushed, half of one text line is showing in page 1 while half of it is showing in page 2!
    PLEASE HELP ('',)

    I think it is the TEXT1 that is blocking on the second page. If you make the Vertical Elasticity property to Variable instead of Fixed the space will disappear on the later pages. May have to put a frame around it with Vertical Elasticity property to Variable to be sure to get rid of it. Anyway that is the theory.

  • Collapse of Repeating frame

    Hi friends,
    My Problem is like this,
    I have 3 repeating frames,
    In Repeating frame one i have R.F two,
    In Repeating frame two i have R.F three,
    If i didnt find any data in Repeating frame
    two and three i want to collapse all repeating frames,
    How can i do this?
    Please try to help me,
    Thanks,
    Have a great day,
    srini

    Hi guys,
    Check the properties-sheet for the repeating frames and the group-repeating frames.
    In the property sheet look for the vertical sizing property. Set it to variable. In that case if no records are found, no space is allocated for the frames. If you're using expand then a minimum space is allocated, i.e. if no records are found then the space in the lay-out editor your are using for displaying the repeating frame is allocated.
    If there aren't any records in repeating frame 2 and 3 and you want to surpress repaeting frame 1 use summary-columns in the groups on which you base repating frame 2 and 3.
    In the format-trigger of repating frame 1 use:
    IF :<summary_column> = 0
    THEN
    RETURN (FALSE);
    ELSE
    RETURN (TRUE);
    END IF;
    Hope this helps...

  • How to get the number of rows in a repeating frame ?

    Hi all,
    When I launch a report from forms then sometimes there are data in the report and sometimes there are no data. And the problem is that when there are no data then the frame containing the repeating frame is still displaying and a blank page displays on the report.
    So I want to get the number of rows from the repeating frame so that I can code a format trigger on the frame to display or not the enclosing frame depending on the existence of data from the repeating frame.
    Thank you very much indeed.

    Dear Friend,
    You can achieve this. Define a summary column (say cnt). Select summary type as "COUNT". select any one of columns that are getting displayed in your repeating frame as summary column and provide "reset at" group name (or set this to report if you are defining this field at report level) . This "cnt" variable will contain how many records that will be fetched for your repeating frame (i.e. Group of Repeating frame). You can use this "CNT" variable in your format trigger.
    In this case there is no need to write before report trigger or anything.
    Regards,
    Manish Trivedi

  • Why the placement of repeating frame hide he record of other fields ?

    Hello,
    After creating a data group in Data Model, I place a repeating frame corresponding it the group created.
    But In the presentation of the report, There is records in first line and after space, no records of other columns only data for the column grouped is seen. And too the reality number of pages has increased.
    Why this fact is occured ?
    How to avoid this ?
    Thanks in advance
    Regards.

    Try 2 select the repeating frame by selecting one of the fields in ur group layout then
    e.g
    F_BANK_NAME then select it's parent frame > will select the repeating and adjust it.
    Regards,
    Abdetu...

  • Repeating Frame leaves blank area on next page before record

    I have a report with multiple repeating frames. Near the bottom of the first page the last repeating frame starts to print. If there are too many records to fit on the first page, they show up on subsequent pages. That is OK. However, on the 2nd, 3rd, etc. pages the records are part way down the page with much blank space between them and the header above.
    I would like the records to start at the top of the next page just beneath the header. Also, because of another repeating frame before this one, I can't even be sure if this particular frame will always start printing on the first page.
    I have tried properties such as page break, print object on, page protect, etc. They hve not resolved this issue to date.
    Thanks in advance from a beginner.
    DT

    hello david
    in this case you must consider what is printed on next pages ... for this i recomend newbie to colorize each frame and repeating frame to see what is there. from your describtion is possible that there are some objects on your frame with print condition set only to first page ... so they is not displayed on second, ... pages - this could happen f.e. with added descriptions, colmn heading, ... so my advice is to look why the space is there and then (maybe) make a correction ...
    hth
    petr valouch, brainbench mvp for oracle rograming, http://www.brainbench.com

  • Repeating frame data run over the page number in the bottom of page

    Hi all,
    I have an issue trying to have page number info shown on every page of report.
    The report has an outer frame M1 that includes frame M2 (it contains a repeating frame with actual data), M3 (a frame that shows the summary and total info) and M4 (the frame that contains page number information.
    Settings are as follow:
    Frame - Vertical - Horizontal - Print Obj On - Base Printing On
    M1     Fixed          Fixed          First Page     Enclosing
    M2     Expand          Fixed          First Page     Enclosing
    M3     Fixed          Fixed          Last Page     Anchoring
    M4     Fixed          Fixed           All Page     Enclosing
    What happens now is that frames M3 and M4 both only shown on the last page. M3 has the right behavior but I expected M4 to show on every page. All these are on Main Section. I know I could have page info on Trailer section but I need to have everything on Main section because of some other logic I have.
    Any suggestions?
    Mike

    I tried that but it did not work. If I used Print All Pages for main content frame it will just have 1 page output versus multiple pages as expected.
    Two important points:
    1) R1 (the repeating frame in M2) has Vertical Elasticity as Expand because it also contains more repeating frames under it. Problem could be solved if the R1 would have vertical elasticity as Fixed instead;
    2) I also could have fixed this by having M2 (it contains a repeating frame with actual data) with Vertical Elasticity as Fixed instead of Expand. But once I do that, I get Report error M3 (frame that shows the summary at the last page) "has an illegal print condition"? Anyone know why this error occurs?

  • Display a repeating number in repeating frame.

    Hi all,
    using forms6, reports6(6.0.8.20.1) on database 81741 in web-based arch, windows2000 servers.
    On the report page, I have a repeating frame with data extracted from database. I used to mark starting of the frame with a '*' sign to make visible where a new frame started on report. Users want that to be replaced by (increasing) numbers with frame. I donot want to keep that as a column in database because the order it might be kept in database would differ from shown in reports & in that case, it might show on reports as 3,4,2,1.
    Any suggestions would be appreciated.
    Thanks in advance,
    Abhi.

    Ok, I am back with a new practical issue. Our requirement was to to display numbers in repeating frame. That we met. Now, we place a dot/decimel after a number in any letter etc. I am trying to place a dot after number.
    I use a independent text object to place a dot after the new field we created. it works fine for 1 to 9. At number 10, that 'dot' doesnot move foreward with the number & dot is hidden under 10. If I move dot one place foreward, it shows fine for 2 digit numbers, but looks dumb for 1 digit number. Changing the horizontal elasticity property of the 'F_' item to all possible value doesnot align dot after number.
    Any suggestions?
    Thanks a lot,
    Abhi.

  • Repeating Frames

    In my report, my query is a 184 column table. Select query is also a 184 column table.
    There are Repeating frames in my layout editor, each contains 10 columns. From the 2nd repeating frame onwards, the page break before property is "Yes". Now if, for the 1st repeating frame there is data (10 columns only) Then the rest of the page is blank. All the page break before property is "Yes" How do I avoid these blank pages
    null

    If you want a page break between records in the change of group mentioned, set the number of records per page property to 1 (it should currently be zero).
    Remember that the page break after property is related to the anchoring object and is not immediately obvious what it is doing. Try setting it back to no.
    null

  • 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

Maybe you are looking for

  • Itunes won't open in mac. Unkown error has occured (-200). I don't know what to do.

    The support has been no help. I have had this macbook for a year and this is the first problem it has given me.

  • Generic code in OSB across 2 domains

    Hi I have a requirement to maintain the same code base for a set of OSB domains. The difference in the domains is the ip address,ports of the Business Service and Proxy service and also, there are some checks done depending on the domain where the co

  • How to load a variable using MATLAB Script?

    I need to load a selected variable from .mat file, using MATLAB script , and analyse it. the attched shows my vi, there are two inputs nodes 'file' contains the .mat file path, and 'varn' contains varibale name in that .mat file which can be selected

  • Dropbox appindicator is not working in Gnome shell

    Hello, I have installed "dropbox" package from AUR and also "gnome-shell-extension-appindicator-git"  (and it's dependencies which are libindicator and libappindicator and some other packages) from AUR too. My appindicators are now working except for

  • Using idvd transitions in imovie.

    I would like to use the transitions that are found in idvd and add them to the choices of trasitions available to me in imovie. How do I locate those transition files being used in idvd program and move them to the imove program? I am using ilife 4.