Could you try to remove the stepWidth attributes? maxRows works in the bookstore example
Henner > -----Ursprüngliche Nachricht----- > Von: kangi [mailto:[EMAIL PROTECTED] > Gesendet: Donnerstag, 17. Februar 2005 08:21 > An: jdbforms-interest@lists.sourceforge.net > Betreff: [dbforms] how to navigate to the next 10 rows > > hi, > i have one table called ODS_NE with about 20 thousand > records, i want to list 10 every page, i have the following codes: > <db:dbform multipart="false" autoUpdate="true" > followUp="/ODS_NE_list.jsp" maxRows="10" tableName="ODS_NE"> > <db:header> <db:errors/> <table align="center" > > > <tr class="clsHeaderDataTableRow"><td > class="clsHeaderDataTableCell"> <db:message > key="ID"/></td><td class="clsHeaderDataTableCell"> > <db:message key="OID"/></td><td > class="clsHeaderDataTableCell"> <db:message > key="ROOMNAME"/></td><td class="clsHeaderDataTableCell"> > <db:message key="CODE"/></td><td > class="clsHeaderDataTableCell"> <db:message > key="NETYPE"/></td><td class="clsHeaderDataTableCell"> > <db:message key="NAME"/></td><td > class="clsHeaderDataTableCell"> <db:message > key="ALIAS"/></td><td class="clsHeaderDataTableCell"> > <db:message key="ABBREV"/></td><td > class="clsHeaderDataTableCell"> <db:message > key="APPLYFORID"/></td><td class="clsHeaderDataTableCell"> > <db:message key="SOFTWAREVERSION"/></td><td > class="clsHeaderDataTableCell"> <db:message > key="PROJECTID"/></td><td class="clsHeaderDataTableCell"> > <db:message key="NEINSERVICEID"/></td><td > class="clsHeaderDataTableCell"> <db:message > key="NAMEINEMS"/></td><td class="clsHeaderDataTableCell"> > <db:message key="VERSION"/></td></tr> </db:header> <db:body > allowNew="false"><tr class="<%= (i++%2==0) ? > "clsOddDataTableRow" : "clsEvenDataTableRow" %>"><td><a > href="<db:linkURL href="/ODS_NE_single.jsp" > tableName="ODS_NE" position="<%= position_ODS_NE %>"/>" ><%= > currentRow_ODS_NE.get("ID") %></a> </td> <td><%= > currentRow_ODS_NE.get("OID") %> </td> <td><%= > currentRow_ODS_NE.get("ROOMNAME") %> </td> <td><%= > currentRow_ODS_NE.get("CODE") %> </td> <td><%= > currentRow_ODS_NE.get("NETYPE") %> </td> <td><%= > currentRow_ODS_NE.get("NAME") %> </td> <td><%= > currentRow_ODS_NE.get("ALIAS") %> </td> <td><%= > currentRow_ODS_NE.get("ABBREV") %> </td> <td><%= > currentRow_ODS_NE.get("APPLYFORID") %> </td> <td><%= > currentRow_ODS_NE.get("SOFTWAREVERSION") %> </td> > <td><%= currentRow_ODS_NE.get("PROJECTID") %> </td> > <td><%= currentRow_ODS_NE.get("NEINSERVICEID") %> </td> > <td><%= currentRow_ODS_NE.get("NAMEINEMS") %> </td> > <td><%= currentRow_ODS_NE.get("VERSION") %> </td> </tr> > </db:body> > <db:footer></table> > <center> > <hr width="400"/> > <db:navPrevButton stepWidth="20" styleClass="clsButtonStyle" > style="width:90" caption="Previous"/> <db:navNextButton > stepWidth="20" styleClass="clsButtonStyle" style="width:90" > caption="Next"/> <db:navNewButton styleClass="clsButtonStyle" > followUp="/ODS_NE_single.jsp" caption="Insert new ..."/> > </center> </db:footer> </db:dbform> > > > but it doesn't work, the first 10 records can be shown > correctly, but when i click the "next" button, still the > first 10 records are listed, it doesn't work, why? > ------------------------------------------------------- SF email is sponsored by - The IT Product Guide Read honest & candid reviews on hundreds of IT Products from real users. Discover which products truly live up to the hype. Start reading now. http://ads.osdn.com/?ad_ide95&alloc_id396&op=click _______________________________________________ DbForms Mailing List http://www.wap-force.net/dbforms