<?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>General</title><link>https://www.infopathdev.com:443/forums/41.aspx</link><description>If you're not sure where to ask your question, ask it here. If necessary, our moderators will make sure it gets classified in the correct board.</description><dc:language>en</dc:language><generator>CommunityServer 2007 SP3 (Build: 31118.962)</generator><item><title>Infopath 2003 - Cleanup OriginalData to submit the records as new instead of update</title><link>https://www.infopathdev.com:443/forums/thread/53008.aspx</link><pubDate>Mon, 22 Mar 2010 18:13:28 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:53008</guid><dc:creator>kparch</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/53008.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=41&amp;PostID=53008</wfw:commentRss><description>&lt;p&gt;Hi, &lt;/p&gt;
&lt;p&gt;I am trying to create a form which tracks employees to enter their time for each week with assigned projects. I have a feature that allows the users to copy previous week&amp;#39;s data and show them as the next week. However when I submit it to Access DB, it updates the previous week&amp;#39;s data with next week&amp;#39;s date. so it overwrites my previous week&amp;#39;s data instead of creating new records with next week&amp;#39;s date. I know the xml that gets submitted to DB has the OriginalData as references and that is why it is overwriting data instead of creating new records.&lt;/p&gt;
&lt;p&gt;I need to somhow in VBScript cleanup the data in the OriginalData in the XML before submitting that to DB, that way it creates new records instead of updates to existing records.&lt;/p&gt;
&lt;p&gt;&amp;nbsp;I am using Infopath 2003 SP3. and I need to see if this can be done via VBScript code on button click to clear out data in the originaldata tag.&lt;/p&gt;
&lt;p&gt;Thanks in advance for looking into this question and responsed to it.&lt;/p&gt;</description></item></channel></rss>