Hi,
I give yoy a little piece of dbforms-config.xml of a simple form where I have this problem:
 
-------------------------
 <table name="user_roles"
             defaultVisibleFields="user_name, role_name" >
  <field name="user_name" fieldType="char" size="15" isKey="true"/>
  <field name="role_name" fieldType="char" size="15" isKey="true"/>
 
  
  <granted-privileges
    insert="uwcad_amm"
    update="uwcad_amm"
    delete="uwcad_amm"
  />
 </table>
-------------------------
The table on the DB has 2 attribs on primary key.
 
And this is the CODE of the DBFORM:
 
---------------------------------------
<db:dbform
          multipart="false"
          autoUpdate="false"
          followUp="/business_objects/user_manager/only_role.jsp"
          maxRows="1"
          tableName="user_roles"
          >
         <db:header/>
         <db:errors/>
         <db:body>
         <table width="400" align="center" border="0">
          <tr class="clsEvenDataTableRow">
           <td style="font-weight: bold" align="left">Username</td>
           <td align="left">
            <span class="FieldName">
             <db:textField styleClass="clsInputStyle" size="15" fieldName="user_name"/>
            </span>
           </td>
          </tr>
          <tr class="clsOddDataTableRow">
           <td style="font-weight: bold" align="left">User role</td>
           <td align="left">
            <span class="FieldName">
             <db:textField styleClass="clsInputStyle" size="15" fieldName="role_name"/>
            </span>
           </td>
          </tr>
         </table>
         
         <br/>
         <center>
         <db:insertButton showAlways="false" styleClass="clsButtonStyle" caption="Commit data into user_roles" src="" flavor="image"/>
         </center>
         </db:body>
         <db:footer>
         <table border="0" align="center">
         <tr>
         <td align="right">
         <db:navFirstButton styleClass="clsButtonStyle" caption="&lt;&lt; First" src="" flavor="image"/>
         </td>
         <td align="center">
         <db:navPrevButton styleClass="clsButtonStyle" caption="&lt; Previous" src="" flavor="image"/>
         </td>
         <td align="center">
         <db:navNextButton styleClass="clsButtonStyle" caption="Next &gt;" src="" flavor="image"/>
         </td>
         <td align="left">
         <db:navLastButton styleClass="clsButtonStyle" caption="Last &gt;&gt;" src="" flavor="image"/>
         </td>
         </tr>
         </table>
         <table border="0" align="center">
         <tr valign="middle">
         <td colspan="3">
         <hr/>
         </td>
         </tr>
         <tr align="center">
         <td align="center">
         <db:updateButton followUp="/business_objects/user_manager/only_role.jsp" styleClass="clsButtonStyle" caption="Update" src="" flavor="image"/>
         </td>
         <td align="center">
         <db:deleteButton styleClass="clsButtonStyle" caption="Delete" src="" flavor="image"/>
         </td>
         <td align="center">
         <db:navNewButton styleClass="clsButtonStyle" caption="Insert new" src="" flavor="image"/>
         </td>
         </tr>
         </table>
         </db:footer>
       </db:dbform>
 
---------------------------------------
 
In the other case I have a whereClause in the dbforms.
 
thanx a lot.
Ivan
 
 
 
 
 
 
 
 

*********** REPLY SEPARATOR ***********

On 09/10/2003 at 12.38 Ivan Codarin wrote:
Dear All,
I've a strange problem with Next & Previous movement between records on dbforms (build 27 sept. 2003).
Also with a single & simple form (but I've the problem in a master/subform form) if I have, for example 30 records, the form  can move (with navNext button) until the 12 record and then on the next click on that button the page disapperas and the system doesn't find other data.
 
Any Idea?
Thanx
Ivan

Reply via email to