Thanks for the suggestion. I tried to add the reset function bu I lost the connection to datasource. Do you have the code I can add to the button to clear the fields. Here is what I have so far:<br /><br /> <?templateDesigner expand 1?><br /> <ui><br /> <button/><br /> </ui><br /> <font typeface="Myriad Pro"/><br /> <caption><br /> <value><br /> <text>Next ></text><br /> </value><br /> <para hAlign="center" vAlign="middle"/><br /> <font typeface="Myriad Pro"/><br /> </caption><br /> <border hand="right"><br /> <edge stroke="raised"/><br /> <fill><br /> <color value="212,208,200"/><br /> </fill><br /> </border><br /> <bind match="none"/><br /> <event activity="click"><br /> <script>// Database navigation button >> go to the next record.<br /><br />// Changing records implies updating the current record with any changes. Enabling this statement would ensure that no changes are committed<br />// without the user explicitly using the Update button.<br />//xfa.sourceSet.DataConnection.cancel()<br /><br />xfa.sourceSet.DataConnection.next()</script><br /> </event><br /> </field><br /> <field h="7.62mm" name="dbLast" relevant="-print" w="25.4mm" x="212.7249mm" y="0.0001mm"><br /> <ui><br /> <button/><br /> </ui><br /> <font typeface="Myriad Pro"/><br /> <caption><br /> <value><br /> <text>Last >></text><br /> </value><br /> <para hAlign="center" vAlign="middle"/><br /> <font typeface="Myriad Pro"/><br /> </caption><br /> <border hand="right"><br /> <edge stroke="raised"/><br /> <fill><br /> <color value="212,208,200"/><br /> </fill><br /> </border><br /> <bind match="none"/><br /> <event activity="click"><br /> <script>// Database navigation button >> go to the last record.<br /><br />// Changing records implies updating the current record with any changes. Enabling this statement would ensure that no changes are committed<br />// without the user explicitly using the Update button.<br />//xfa.sourceSet.DataConnection.cancel()<br /><br />xfa.sourceSet.DataConnection.last()</script><br /> </event>