Cfdocument and records per page

Hello people, I'm working with a system for a construction
company that allow the owners to generate a PDF of the employees
per project.
Let's say for project "a" it will create a list of employees,
with the date, hours, wage and category they were working at. It
will sort by employee. It works ok for small projects, but when the
employees need more than one page of the PDF (a project that last 4
months, for instance) it will cut the page in the middle of a line.
How can I determine how many results to display per page?
Thanks a lot

Pl see Chapter 2 of the XML Publisher User Guide at http://download.oracle.com/docs/cd/B25516_18/current/html/docset.html
HTH
Srini

Similar Messages

  • HELP I am doing a Data Merge and It is only giving me one record per page!

    I really need help here.  I am doing a data merge and have selected the options for doing multiple records per page but instead it is merging everything to it's own page.  Can someone tell me what I am missing?

    Why do you say you can't do a multiple record merge to a table?
    I've never had any trouble putting placeholders into a table. It's the way I do most of the datamerge that I work with.
    My mistake… I was confused with the script, and I must confess I had never tried (until now) to use tables as placeholders, but it works.
    My apologies for this uncorrect answer

  • Limit records per page in the horizontal looper?

    Might sound confusing, but I'm wondering if/how I can use the horizontal looper to show 30 records per page?
    For example, I have a photo thumbnail collection. I want to show 5 columns and 10 rows. Is there a way to get the looper to put a link to the 'next 50' so the user can see the next 50 thumbnails (starting at thumbnail 51 of course)?
    thanks

    I guessing here but there must be a bit of php code that you can edit that limits the number of records to be displayed instead of the default value of 10.

  • I want to diaplay my records from the databasewith 10 records per page. i l

    i want to diaplay my records from the databasewith 10 records per page. i learned that it can be done through pagination . Please can anyone there help me and give me the code of how to page my records in my jsp pages
    I have small code ,but its not working....
    below is the code....
    public ResultSet codeResult(int i){
    if(dataSource!= null){
         try {
                             con=dataSource.getConnection();
         stmt=con.createStatement (ResultSet.TYPE_SCROLL_SENSITIVE,ResultSet.CONCUR_READ_ONLY);
         int maxRows=stmt.getMaxRows();
         System.out.println("the maxRows is:"+maxRows);
         System.out.println("the I value is:"+i);
         if((i < 0) || (i > maxRows)){
              i=0;
         stmt.setFetchSize(i);
         long t = System.currentTimeMillis();
         rs=stmt.executeQuery("select asc_code,countrycode,asc_name,asc_address1,asc_address2,asc_city,asc_country,asc_region,asc_contact_person,asc_contact_no,asc_email_id,asc_fax_no,nso_incharge,nso_email,ar_ap_code from asc_master order by asc_code asc");
    but,its giving all records...
    any one help me on this........
    Thank you,
    D.Nagireddy.                    
                        } catch (SQLException e) {
                             e.printStackTrace();
              return rs;
              }

    hey, here my code for paging. hope it helps...
         public void DueRecordInfo(int page,int MAX_PER_PAGE)
              con = new DBConnection().getConnection();
             try
                     Statement stmt = con.createStatement();
                     String sqlcount = "SELECT COUNT(*) FROM INFO WHERE TO_DATE(DATEUPDATED,'Month DD, YYYY') < ADD_MONTHS(SYSDATE,-6) AND OBSOLETE LIKE 'No'";
                     ResultSet rscount = stmt.executeQuery(sqlcount);     
                    rscount.next();
                    total_row_count = rscount.getInt(1);
                  lowerbound = (page * MAX_PER_PAGE - (MAX_PER_PAGE))+1;
                  upperbound = lowerbound - 1 + MAX_PER_PAGE;
                  String sql = "Select * from "+
                                    "(SELECT row_number() over(ORDER BY TO_DATE(DATEUPDATED,'Month DD, YYYY') DESC) AS RN,ID,SPECNO,REVISEDNO,DATEREVISED,TITLE,ORIGINATOR,DCBNUMBER,DCBLOCATION,OBSOLETE,DATEOBSOLETE,WORDFILE,PDFFILE,DATEUPDATED FROM INFO WHERE TO_DATE(DATEUPDATED,'Month DD, YYYY') < ADD_MONTHS(SYSDATE,-6) AND OBSOLETE LIKE 'No') " +
                                    "WHERE RN BETWEEN "+ lowerbound + " AND " +upperbound;
                   ResultSet rs = stmt.executeQuery(sql);
                  while (rs.next())
                         id.add(num, rs.getString("ID"));
                         specno.add(num, rs.getString("SPECNO"));
                         revisedno.add(num, rs.getString("REVISEDNO"));
                       daterevised.add(num, rs.getString("DATEREVISED"));
                       title.add(num, rs.getString("TITLE"));
                       originator.add(num, rs.getString("ORIGINATOR"));
                       dcbnumber.add(num, rs.getString("DCBNUMBER"));
                       dcblocation.add(num, rs.getString("DCBLOCATION"));
                       obsolete.add(num, rs.getString("OBSOLETE"));
                       dateobsolete.add(num, rs.getString("DATEOBSOLETE"));
                       wordfile.add(num, rs.getString("WORDFILE"));
                       pdffile.add(num, rs.getString("PDFFILE"));
                       dateupdated.add(num, rs.getString("DATEUPDATED"));
                         num++;
                   con.close();
                   rscount.close();
                   rs.close();
                   stmt.close();
             }

  • Displaying 10 records per page

    hi,
    somebody please help me.....
    i have a list of more than 20 records which i get
    from database and then i put it in session.
    i have to display 10 records per page only and
    on the same page i'd like to have links to page
    numbers to view next set of records.
    example is how googel displays its search results.
    ex. [ 1 2 3 4 5 ]
    THANKS A LOT!

    this can be done using the pagination technique.
    [email protected]

  • How to avoid the hard limit of 100 column and items per page?

    I have created a Form on a Table with Report. I need to create/edit approximately 175 items. The items on the Form have a limit of 100 column and items per page. What is the best way to carry the remaining items to another Form and doing an insert or update? or is the 100 column limit on the insert/update per table as well?
    Thank You.

    Hi Rick,
    The 100 item limit is on a page, not a table, so you shouldn't have any trouble with your insert or update processes.
    Here's a thought:
    Report currently has a column that links to the first page of items (page 14) with the retrieved row. Presumably you also have a Add New button on the report page that links to page 14 for a new row.
    Define a Next button on page 14 that branches to the second page of items (page 16). Also define a Previous button on page 16 to return to page 14. But page 16 would be the only page with a Save button.
    Now, if user clicks Add New, user will get a blank page 14. Once user enters the info and passes validation they click Next and will be sent to page 16 to enter the remaining info and Save.
    If user clicks one of the column links, they will be brought to page 14 with the clicked row - they can change whatever info there and click Next, or just click Next, to get to page 16. After any changes are made, they click Save.
    I'm assuming you've been thru the tutorials and realize that you'd really have two Save buttons defined for page 16 - one conditional on your primary key item having a value (existing record) and one conditional on it being null (new record) - check out the tutorials for more info, but this is how the application would know whether to run an insert process or an update process.
    Hope this all makes sense and can help,
    John

  • Limit the number of records per page in webi

    Hello All,
    How do i limit the number of records per page in webi?
    i was asked to have not more than 20 records per page.
    In " NUmber of Vertical records per page"(Quick display mode) the default value was 100, i am trying to set it to 20 ...but its not updating....its still taking 100.
    I am on BO XI 3.1 Sp2 fix pack 3
    Please let me know a way to accomplish this.Any inputs appreciated
    Thanks

    It can be done as follows:
    1. create a variable at report level as:
            v Test = Floor(RowIndex()/20)
    2. Added this variable in the Block as a new column.
    3. Select the v Test column, Right Click and set as section (also you can apply break).
    4. Go to structure mode select section\break and go to properties tab and select the property "Start on new page".
    Regards,
    Rohit

  • Setting max record per page property at runtime (very urgent)

    We need to display 7 record for first page and 25 for other pages...
    we tried a reperating frame max record per page property is a report level property. So it cannot change for pages.
    Then We try other way..
    we seperated our query to the different frame to do these
    But we need to summaries some field at page level and
    reset at page has fallowing restriction
    "A Reset At of Page will not work for reports that have multiple repeating frames associated with a group that is involved in the summary. One common case of this is a matrix report. As a result, matrix reports cannot have page-level summaries."
    So all the ways we tried failed.
    How can we do this ... it is very urgent. (we can use any version of report.)
    Thanks for your help...

    repost

  • Help! Error when data merging multiple records per page

    I managed to get one record per page to display great.
    When I try to insert the text box into my master page and run to create multiple entries per page it gives me only one result:
    Any ideas on where I'm going wrong?

    Before merge
    After Merge

  • Data Merge: Cannot get multiple records per page

    I am working with a client who is trying to do a directory in Indesign. There are about 1,800 people with information like address, title, employer, phone, etc. This info is on an Excel spread sheet. I made a text, tab delimited and a CSV file from the spreadsheet. I set up a two column text box on each page and want these entries to fill the columns. I am only able to get one person's information per page. Multiple records per page yields no different result. I also had the multiple records option grayed out on a couple tries. I have tried this many times, even tried setting up a simple spread sheet with 9 items. No luck. HELP! I'm brand new to this feature.
    Chris

    the data merge function in indesign doesn't make "next record" merges  like word does, but instead merges to fields within fixed text boxes, so  one frame = one data merge result. when doing mailing labels in word,  there is a field called "next record" which then calls in the next piece  of information.
    the "next record" field is a vital field which indesign doesn't have and  i'd like… but that doesn't answer your question. i can see four ways  of doing what you want to do:
    1) do a mail merge in word and use the "catalog" feature and do the  merge in word. format the word file appropriately using stylesheets, and  once the merge is made, save the file and close it. THEN, place the  file in indesign and then change the imported stylesheets into something  which resembles more like what you want.
    2) use indesign's data merge but make sure that multiple record  layout is selected in the first dialog box when creating merged  document; and that when previewing the records, the records appear to be  in one column (even though they are still in separate text frames).  merge the document, and in the new document, select all the text frames  in the page and then run the MergeTextframes_ID.jsx script which can be  found at http://ajarproductions.com/blo…..-indesign/ .this  will have to be done page by page and then rethreaded each page, but  it's a workaround
    3) if the data in the datamerge is a csv, convert the csv to xml. if  the csv is small (less than 100K) there is a converter online where the  contents of the csv is copied into the converter. it is at http://www.creativyst.com/Prod/15/ . The next step is complicated and needs some knowledge of XML. my  advice is to get hold of a book called "Designer's Guide to Adobe   InDesign and XML" by James Maivald, and specifically read chapter seven  and base your merge on this.
    4) visit the third party providers link within the indesign page of the adobe site and have a look at products marketed there... i think teacup software and cacidi software sell products which do more advanced merges within indesign. they're not free though but are designed to handle big catalogues.
    hope that helps.
    colly

  • Data Merge Multiple Records Per Page Greyed Out

    I am using InDesign cs5.5. I am attempting to create a catalog with the data merge option. I am attempting to do a data merge from the Master Page.
    As you can see in the image, I have inserted my fields from the data source file. All images, original file, and data source file are in the same folder. I am inserting this info on the left sheet of the master file. When I select "Create Merged Document" the "select multiple records per page" is greyed out, however, there is plenty of room on the page for the 8 records I want it to show. See image below.
    After watching tutorials, reading, etc. I made sure that my document does not have facing pages. I deleted my "page 2" to avoid that conflict. I made sure that the placeholder "allows overwrite from the master". I also deleted my "cache"/settings" by doing "ctrl, alt, shift" when reopening the program. I read that it may be because the files need to be on the right hand sheet of the master, however, when I move my info to the right sheet, I get the following message.
    I have watched the tutorial videos, read the entire help section regarding data merge, and have correctly created my data source file. I've tried everything I've seen on the forums, apart from uninstalling and reinstalling. Please tell me that someone can help me figure this out as soon as possible. I'm in crunch time!
    Thanks a lot.

    Thanks Peter. That helped me un-grey the multiple records. I was able to complete a data merge, however, this is what happens.
    As you can see in this image, I have the margins setup the way I prefer, and the data merge previews correctly.
    Once I click to merge, this is the new document I get - it's only putting one record per page (even though the multiple records per page is selected), and it inserts this layout, not onto actual pages in indesign. It looks reall odd.
    And when you scroll down,
    Any suggestions on fixing this?
    Also, my InDesign freezes up when I try and do a merge of my entire sheet (182 items). The images above are when I tested doing just records 1-32.
    Thanks in advance and thanks for being so prompt yesterday. Very helpful.

  • Maximum Number of record Per page using XML Publisher with RTF template

    Hi
    I am creating customer statement and want to show only 20 records per page. How we can set maximum number of repord per page in rtf template.
    Thanks
    Ravi

    Ravi,
    I hope you are already done with this. In the invoice there is a nice example you can use on the xml blogs.
    You limit the number of lines per page when you use the xsl commands like this in your template:
    <xsl:variable name="lpp" select="number(13)"/>
    <?for-each@section:LIST_G_INVOICE?>
    <xsl:variable xdofo:ctx="incontext" name="invLines" select=".//G_LINES[LINE_TYPE='LINE']"/>
    <?for-each:$invLines?> <?if:(position()-1) mod $lpp=0?> <xsl:variable name="start" xdofo:ctx="incontext" select="position()"/>
    and then you have the table where you have the data
    <?for-each:$invLines?><?if:position()>=$start and position()<$start+$lpp?>
    and all your lines
    and then
    <?end if?><?end for-each?>

  • Can we change [maximum number of records per page] property at run time

    can we change [maximum number of records per page] property at run time in report 6i

    Ravi,
    I hope you are already done with this. In the invoice there is a nice example you can use on the xml blogs.
    You limit the number of lines per page when you use the xsl commands like this in your template:
    <xsl:variable name="lpp" select="number(13)"/>
    <?for-each@section:LIST_G_INVOICE?>
    <xsl:variable xdofo:ctx="incontext" name="invLines" select=".//G_LINES[LINE_TYPE='LINE']"/>
    <?for-each:$invLines?> <?if:(position()-1) mod $lpp=0?> <xsl:variable name="start" xdofo:ctx="incontext" select="position()"/>
    and then you have the table where you have the data
    <?for-each:$invLines?><?if:position()>=$start and position()<$start+$lpp?>
    and all your lines
    and then
    <?end if?><?end for-each?>

  • Retrieving 10 records per page

    hi,
    i would like to have the source code for retrieving 10 records per page in jsp. I have a huge resultset and i would like to display 10 records per page.
    your help is highly appreciated.
    regards
    andrew

    hi,
    i would like to have the source code for retrieving 10
    records per page in jsp. I have a huge resultset and
    i would like to display 10 records per page.
    your help is highly appreciated.
    regards
    andrewHey Andrew, this code will help you out. Essentially the pseudocode to do what you want is below. Let's say your jsp is called dbresults.jsp
    Get total number of results from query result set
    If page is called with no index number of current record to display
    Display the records from 0 until a max of ten counting how many we display and keeping track of the current record number.
    end if
    else
    Display the records up to a max of ten from the index number we received in the query
    end else
    tempvar_a is the current number of records displayed minus 10 records and minus the amount of records displayed on this page.
    If tempvar > 0
    Display a previous button with the a href as dbresults.jsp?index=tempvar value
    end if
    else if current record index < total record count
    then there are more records to display so make a next button with an href of dbresults.jsp?index=value of current record number plus one
    end else
    One caveat is that getting the index number in the beginning of the JSP as:
    request.getParameter("VIEWEDROWS");
    will return a string that we have to convert to an int since you will be adding and comparing to this number so do:
    String TEMPVIEWEDROWS = request.getParameter("VIEWEDROWS");
    int VIEWEDROWS = 0;
    if (TEMPVIEWEDROWS != null) {
    VIEWEDROWS = Integer.parseInt(TEMPVIEWEDROWS);

  • 15 Records per page

    Hi XML Pub Team
    I am creating a reports using XML Publisher and RTF template. I want to show only 15 records per page and some text before and after records. Like customer information before records and term conditions after records at each page. I tried all combination but i could not get any right solution.
    If we think about customer statement, i have 5 pages statement for one customer and i want to show these contents on each page "first customer information then 15 records of transactions after that term condition/buckets for each page.
    Please let me know about solutions.
    Thanks
    Ravi

    It will work :)
    use xsl code
    <xsl:if xdofo:ctx="inblock" test="CONDITION_ELEMENT='TRUE'"><xsl:attribute name="break-before">page</xsl:attribute></xsl:if>
    or
    <?if:position() mod 10 = 0 and position() != last()?>
    <xsl:attribute name="break-after" xdofo:ctx="incontext">page</xsl:attribute>
    <?end if?>

Maybe you are looking for

  • Urgent: GL Line Item

    Hi, what is business content cube for GL line items? is there is any corresponding cube for data source 0FI_GL_4 or its just ODS and we have to develop custom cube. Thank you, sam

  • Sequence settings FCP

    What would be the best sequence settings in FCP for footage shot at 720 60fps and 1080 60fps. I have mixed footage, shot with 2 different cameras and settings..i usually use DV NTSC but I am using a Panasonic GH2 and imported the footage using iMovis

  • OSB 10gR3 memory usage

    I have been experiencing "out of memory" type errors on several of our OSB development and certification boxes. We haven't even begun to drive real load through the OSB which is causing me more than a little concern. First a little background. We hav

  • Photoshop :: Can't Open Latest NEF Files From New D610

    I Can't Open Latest NEF Files From New D610.it can't open naturaly in photoshop CS6.

  • RDB ODBC V3.0.2.0 : Sqlstate 01004 upon DB-Connect: why ?

    Hello ! I Tried to upgrade my RDB-ODBC Driver from V 2.10.17.00 to V 3.0.2.0 Prior to the installation I had working ODBC-Connections to 4 VMS Nodes, all of them running VMS V7.0, Oracle RDB V7.0-5. Two of these Nodes have SQLServices V7.0, two have