Need help to display n number of records per page

I am trying to display the records using the RowSetIterate loop.
After showing 10 records, I break the loop using the
RowSetNavigate. After that I want to display the next 10 records
which I am not able to do. Can Anybody help?
The code is as follows
<%@ taglib uri="/webapp/DataTags.tld" prefix="jbo" %>
<jbo:ApplicationModule id="am"
configname="testPackage.TestPackageModule.TestPackageModuleLocal"
/>
<jbo:DataSource id="ds" appid="am"
viewobject="testEntityView" />
<table border="0">
<tr>
<td ALIGN="right"><jbo:DataScroller appid="am"
viewobject="testEntityView" /></td>
</tr>
<tr><td>
<table border="1">
<jbo:RowsetIterate datasource="ds" >
<% if (ds.getRowSet().getCurrentRowIndex() == 9)
{ %>
<jbo:RowsetNavigate datasource="ds"
action="Last" />
<% } %>
<tr>
<TD>
<jbo:ShowValue
datasource="ds" dataitem="Fullname" /></TD>
</tr>
</jbo:RowsetIterate>
</table>
</td>
</tr>
</table>
</table>
</BODY>
</HTML>

resolved this issue by using FlowN functionality available in BAM

Similar Messages

  • REPORT BUILDER: MAX. NUMBER OF RECORDS PER PAGE

    Dear Consultant,
    Using DEVELOPER 2000 R2.1 REPORT BUILDER, is there any way to set the " MAXIMUM NUMBER OF RECORDS PER PAGE" dynamically by user input when calling the report, without the need to modify the report at Design time and recompile it?
    Thanks for your help.
    Ghia Haidar
    Developer
    Astrolabe IT - Professional Consultants
    Beirut, Lebanon
    Phone: + 961 1 841.050
    Fax: + 961 1 841.055 www.astrolabe.com.lb
    null

    Refer Manish question.
    <BLOCKQUOTE><font size="1" face="Verdana, Arial">quote:</font><HR>Originally posted by Ali DHAINI ([email protected]):
    Dear Consultant,
    Using DEVELOPER 2000 R2.1 REPORT BUILDER, is there any way to set the " MAXIMUM NUMBER OF RECORDS PER PAGE" dynamically by user input when calling the report, without the need to modify the report at Design time and recompile it?
    Thanks for your help.
    Ghia Haidar
    Developer
    Astrolabe IT - Professional Consultants
    Beirut, Lebanon
    Phone: + 961 1 841.050
    Fax: + 961 1 841.055 www.astrolabe.com.lb
    <HR></BLOCKQUOTE>
    null

  • 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

  • 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?>

  • 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?>

  • How to make a table to display perticular number of rows per page??

    Hi,
    Can anybody tell how to ristrict the number of rows per page in SSRS?
    I have a table in my report.I know we have to use" =Int(RowNumber(Nothing)/25)" in group expression.But I already have 3 group expression in my table.Where to write??
    Thanks.

    Hi Tony ,
    Just wanted to know will this solution work ;
    I am having a report and its using a grouping expression on “Group on 
    (=Field!Salelocation)” when it add another group on the details and have the page calculation such as (=Ceiling(RowNumber(Nothing)/20)) 
    and assign the page break at to the point of saving its ok , when trying to upload the report then it throws the following error .
    I have tried your solution trying to give the page calculation the upper group but still the following error comes back
    “A group expression for the grouping ‘table2_Group1’ uses the RowNumber function with a scope parameter that is not valid. When used in a group expression, the
    value of the scope parameter of RowNumber must equal the name of the group directly containing the current group. (rsInvalidGroupExpressionScope)
    Get Online Help
    A group expression for the grouping ‘table2_Group2’ uses the RowNumber   function with a scope parameter that is not valid. When
    used in a group   expression, the value of the scope parameter of RowNumber must equal the name   of the group directly containing the current group.   (rsInvalidGroupExpressionScope)
    Get Online Help
    Will you able to assist me on this.

  • Limit number of records per page in RDF report

    Hi Alll,
    My rdf report query return 200 records but while prinitng on the paper i should restrict 60 records perpage... please help me on how should i do it...
    Thanks in advance

    Though the maximum records per page while prinitng it is printing continously on the paper...

  • Setting maximum number of records per page

    Hi All,
    Can anyone tell me how can i set the maximum number of records that should be printed per page in a XML REPORT. How can i write the XML tag for this.
    thanks in advance,
    siddam

    Hi ,
    Please check bi publisher blog from TIM.
    http://blogs.oracle.com/xmlpublisher/2007/03/27
    it will help you out.
    Regards
    Ratnesh

  • Need help in displaying multiple attachments in a OAF Page

    Hi,
    I need to display attachemts of requisition line in a OAF Page(Notification Detials Page)and the attachments can be more than one.My custom VO returns it as a single string like url1, url2.. etc.
    I need to show them as seperate links.
    I tried using the Item Style as LINK.But it is not working.It is prefixing the server url before the View Attribute and creating a single link.
    Any help in this regard will be appreciated.Thanks in advance.
    Srini

    Hi skeerthi,
    If you are using the core attachments table (FND_ATTACHED_DOCUMENTS and the like), you can have a look on the Developer's Guide on chapter 4: Implementing Specific UI Features, section "Attachments", there is a seeded region available for displaying multiple attachments.
    If you are not, then i'd recommend refactoring :D... Just kidding, it would be nice to use the core feature, but if the table is custom, and the links are stored separated by commas, you will have to write controller code to implement that. That can be done by:
    1) Creating an Application module method that uses StringTokenizer to tokenize the attribute String (use getViewObject().getCurrentRow().getAttribute() to get the comma-separated value) and return that to the controller
    2) In the controller, receive the StringTokenizer and for each token, use the api createWebBean() to create an OALinkBean and add it to a layout region using addIndexedChild() api.
    This way you will dinamically create a Link for each attachment. If your layout region is, for example, tableLayout, you can create a rowLayout for each token, then create a Link, add the link to the row layout and finally add it to the tableLayout. By doing so, you will create a table-style attachment region.
    Hope it Helps
    Thiago

  • Limit records per page with Report Builder?

    Is there a way with the report builder to limit the number of
    records per
    page? Thanks.
    ...Brad

    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.

  • Need help in finding the number of occurrences of a pattern.

    Hi All,
    I need help in finding the number of occurrences of a pattern in a table's column's data.
    Consider sample data - one row's column from a table:
    "S-S-S-A-S-S-P-S-S-B-S-A-P-S-S-C"
    My requirement is:
    I should get the count of S's which are immediately preceded by A or P.
    for the above data i should get count as 3+2+1=6 (S-S-S-A, S-S-P, S-A)
    The pattern data is stored as VARCHAR2 type.
    Thanks in advance,
    Girish G
    Edited by: Girish G on Jul 21, 2011 11:22 PM

    I am sure there exists a better way then this one:
    SQL> with dt as
      2  (select 'S-S-S-A-S-S-P-S-S-B-S-A-P-S-S-C' str from dual)
      3  SELECT SUM(Regexp_count(Regexp_substr(str, '(S\-?)+(A|P)+', 1,
      4                                     Regexp_count(str, '(S\-?)+(A|P)+') - (
      5                                                  LEVEL - 1 )), 'S')) len
      6  FROM   dt
      7  CONNECT BY LEVEL <= Regexp_count(str, '(S\-?)+(A|P)+')
      8  /
           LEN
             6

  • I need help with my serial number.  I downloaded soundbooth cs3 to restore my downloaded puchase, but my serial number is not being accepted.  I have 16 more days to resolve this.

    I need help with my serial number.  I downloaded soundbooth cs3 to restore my downloaded purchase, but my serial number is not being accepted.  I have 16 more days to resolve this.  I don't need tech support, I just need the software I purchased to work for me.  That's not to much to ask, is it?  Can anyone from adobe help me please?
    Chris

    Error "The serial number is not valid for this product" | Creative Suite

  • I need help getting the license number for Adobe Photoshop Elements. However, It doesn't recognize me as an authorized user. Can someone help?

    I need help getting the license number for Adobe Photoshop Elements. However, It doesn't recognize me as an authorized user. Can someone help?@

    I am having the same problem...did you ever fix it?

  • Need help on displaying the callers name on ip phone with cme using external directory

    Hello Guys,
    Need help on displaying the callers name on ip phone with cme while using external directory
    Thank you,
    Khaja

    Thanks for your help,
    Does it 100% work with CME. We use SIP and 2ring for external directory?  Thanks you.

  • Display 20 records per page -- Pls help

    I am using sql query which returns some 1000 records, i have to display 20 records per page. I am using an enterprise bean that has finder method which returns arraylist of records. From this arraylist i am displaying in the JSP page. If after selection, if other user updates in the database, This won't reflect in the jsp page. How should i go about?

    oops,
    Implementing a Data Cache using Readers And Writers
    By Billy Newport, EJB Consultant
    http://www.theserverside.com/resources/article.jsp?l=Readers-Writers
    You may have come across a situation where you need to cache some data in your server. You then use this cache to service queries from incoming requests. You will also probably have a thread that listens for cache update events. This thread updates the cache in response to these events.
    This leads to a problem as it's unlikely that both the threads servicing requests and the update thread will be able to use your cache simultaeneously. You may be tempted to use an exclusive lock such as a Java synchronised block to handle this. This will work but it is probably the worst way that you can do this from a performance perspective. This articles shows how you can use reader writer locks to accomplish the same thing using a much more efficient technique.
    Reader writer locks.
    How to detect changes to the database?
    We can place triggers on a table. These triggers can call a stored procedure when-ever a record is updated/inserted or deleted. If we are caching the data in our application server then obviously when this happens we will want to know about it. We can split databases in to two categories when we look at implementing this. Oracle and everybody else.
    Oracle 8i
    Oracle is the most elegant. I'm assuming you're using Oracle 8i. Oracle 8i has a builtin JMS mechanism. We can define a queue in Oracle. Our pl/sql (or Java) stored procedure gets attached to the trigger. The stored procedure enqueues a message on the Oracle queue. The message would describe the event that happened. Our application servers will run a thread inside the application server VM that subscribe to and then listen to this queue. When a legacy system or an application server modifies the database then our triggers will call this stored procedure. It then enqueues the message. If the transaction is commited then the message is commited and sent to the listeners. If the transaction is rolled back then it is not commited and not sent. If the transaction is commited then all our application servers will receive the message. They can then use the message contents to see what happened and update the cache accordingly.
    Oracle 8 includes a full JVM. You could as an alternative use a Java stored procedure to multicast the event or send the event any way you choose. This isn't possible using Sybase or DB2 as they don't include the java.net package in the VM inside the database.
    If you're using an older version of Oracle then there is a way to send messages over an Oracle connection from the server to a client. Check your OCI manual for details. This message will be sent though regardless of the transaction outcome unlike the Oracle AQ solution.

Maybe you are looking for