<?xml version="1.0" encoding="UTF-8" ?>
<?xml-stylesheet type="text/xsl" href="https://www.infopathdev.com:443/utility/FeedStylesheets/rss.xsl" media="screen"?><rss version="2.0" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:slash="http://purl.org/rss/1.0/modules/slash/" xmlns:wfw="http://wellformedweb.org/CommentAPI/"><channel><title>Data Connections</title><link>https://www.infopathdev.com:443/forums/44.aspx</link><description> </description><dc:language>en</dc:language><generator>CommunityServer 2007 SP3 (Build: 31118.962)</generator><item><title>How to query a DB, retrieve a previous record, amend, then save back as new</title><link>https://www.infopathdev.com:443/forums/thread/38985.aspx</link><pubDate>Thu, 26 Feb 2009 16:49:23 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:38985</guid><dc:creator>SusieW</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/38985.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=44&amp;PostID=38985</wfw:commentRss><description>&lt;p&gt;Hi everyone,&lt;/p&gt;
&lt;p&gt;I have a&amp;nbsp;query button that brings back previous data into a form, then the user can overwrite the Card Number which is a&amp;nbsp;primary field&amp;nbsp;in the DB. Most of all the other details will stay the same. When the form is submitted back, it overwrites/updates the previous line with the new number&amp;nbsp;and does not create a new record. Is there any way of coding the submit button to do a submit &amp;#39;as new&amp;#39;.&lt;/p&gt;
&lt;p&gt;The users don&amp;#39;t want to retype all of the data, they need to load previous data, modify what they need to, then submit the&amp;nbsp;form to&amp;nbsp;create a new set of records.&lt;/p&gt;
&lt;p&gt;Is this possible?&lt;/p&gt;
&lt;p&gt;Thank you in anticipation.&lt;/p&gt;
&lt;p&gt;&amp;nbsp;&lt;/p&gt;
&lt;p&gt;&amp;nbsp;&lt;/p&gt;</description></item></channel></rss>