<?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>Newbie Questions</title><link>https://www.infopathdev.com:443/forums/39.aspx</link><description>New to InfoPath? Search to see if your question has already been answered. If it has not, then ask it here or the appropriate topic forum.</description><dc:language>en</dc:language><generator>CommunityServer 2007 SP3 (Build: 31118.962)</generator><item><title>Re: Please help - infopath forms are "overwriting" data instead of creating new rows</title><link>https://www.infopathdev.com:443/forums/thread/49591.aspx</link><pubDate>Tue, 01 Dec 2009 21:49:09 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:49591</guid><dc:creator>Desmo</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/49591.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=39&amp;PostID=49591</wfw:commentRss><description>&lt;p&gt;&amp;nbsp;Exactly the retrieve button is optional, only if historical records need to be updated. &amp;nbsp; the submit button appears as long as a&amp;nbsp; date is selected I think that repeating error occurred after I copied the file to upload onto this forum but it&amp;#39;s not an issue on the original -&amp;nbsp; It&amp;#39;s probably difficult to diagnose this one without seeing the original access file..&amp;nbsp; --&amp;nbsp; I think first I need to talk to my associate who is on the west coast that makes these updates - for all i know they could just be accidentally retrieving the current record and over writing it without even knowing it,&amp;nbsp;&amp;nbsp; Otherwise how can a row of data completely disapear --&amp;nbsp; I&amp;#39;ll try to spend more time on it tomorrow. thanks for taking a look!!&lt;br /&gt;&lt;/p&gt;</description></item><item><title>Re: Please help - infopath forms are "overwriting" data instead of creating new rows</title><link>https://www.infopathdev.com:443/forums/thread/49588.aspx</link><pubDate>Tue, 01 Dec 2009 19:27:03 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:49588</guid><dc:creator>Hilary Stoupa</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/49588.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=39&amp;PostID=49588</wfw:commentRss><description>&lt;p&gt;Okay. So they only use the Retrieve button if they are trying to update an existing record? I did notice that the repeating section with your controls is unbound, not sure if that is part of the problem you are having, but it is something you&amp;#39;ll want to fix.&lt;/p&gt;</description></item><item><title>Re: Please help - infopath forms are "overwriting" data instead of creating new rows</title><link>https://www.infopathdev.com:443/forums/thread/49587.aspx</link><pubDate>Tue, 01 Dec 2009 19:16:30 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:49587</guid><dc:creator>Desmo</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/49587.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=39&amp;PostID=49587</wfw:commentRss><description>&lt;p&gt;&amp;nbsp;Right, well it&amp;#39;s a yes and no answer.&amp;nbsp;&amp;nbsp; Each day basically should equal a new record in the table.. that&amp;#39;s why i&amp;#39;ve got the date set to &amp;quot;no duplicates&amp;quot;. But we also want the capability to &amp;quot;edit&amp;quot; data for any particular day. So say for example, this evening I go in and add a forecast for tomorrow, thereby created a new record.. But tomorrorow morning I come in and see things are way off and need to correct that forecast, then I&amp;#39;d want to use the form to &amp;quot;retrieve&amp;#39; the current day&amp;#39;s data, change and re-submit it.. thus overwriting it.&amp;nbsp; The odd thing that I&amp;#39;m seeing in the table is each day the previous day&amp;#39;s date appears to disapear and it is replaced with the current day&amp;#39;s date after all the updates are in. &lt;br /&gt;&lt;/p&gt;</description></item><item><title>Re: Please help - infopath forms are "overwriting" data instead of creating new rows</title><link>https://www.infopathdev.com:443/forums/thread/49585.aspx</link><pubDate>Tue, 01 Dec 2009 18:42:44 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:49585</guid><dc:creator>Hilary Stoupa</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/49585.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=39&amp;PostID=49585</wfw:commentRss><description>&lt;p&gt;You should always go through the data connection wizard again when you change the database table. You are doing the right thing as far as that&amp;#39;s concerned. My concern is with your query. If you are querying for an existing record, then changing it and resubmitting, you will always overwrite that row. Does that make sense? But it seems from your post that is NOT what you want to do, you want to create a new record with every submit... is that correct?&lt;/p&gt;</description></item><item><title>Re: Please help - infopath forms are "overwriting" data instead of creating new rows</title><link>https://www.infopathdev.com:443/forums/thread/49583.aspx</link><pubDate>Tue, 01 Dec 2009 18:26:18 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:49583</guid><dc:creator>Desmo</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/49583.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=39&amp;PostID=49583</wfw:commentRss><description>&lt;p&gt;&amp;nbsp;Thank you for taking a look. Yes, I&amp;#39;ve found that whenever I make design changes to the database (i.e. change the PK) I need to go through the data connection wizard or else the changes may not be recognized on the form side. - is that a bad idea?&amp;nbsp;&amp;nbsp;&amp;nbsp; The only query field on the form is actually date...&amp;nbsp; and I have a rule set that probably doesn&amp;#39;t make sense, but I have the data &amp;quot;date&amp;quot; field set to be equal to the query &amp;quot;date&amp;quot; field.&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; I have the &amp;quot;date&amp;quot; query field on there because the idea is that the user &amp;quot;queries&amp;quot; that given day&amp;#39;s date to pull up the information for that day ... as it is possible data for that particular day may have been entered the night before, and the general idea is to give the user the ability to update/ammend to the existing record for that day. I&amp;#39;ve attached an example..&lt;/p&gt;&lt;p&gt;&amp;nbsp;&lt;/p&gt;&lt;p&gt;&amp;nbsp;&lt;/p&gt;</description></item><item><title>Re: Please help - infopath forms are "overwriting" data instead of creating new rows</title><link>https://www.infopathdev.com:443/forums/thread/49579.aspx</link><pubDate>Tue, 01 Dec 2009 16:33:37 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:49579</guid><dc:creator>Hilary Stoupa</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/49579.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=39&amp;PostID=49579</wfw:commentRss><description>&lt;p&gt;When you changed the table from using the Date as the PK, did you walk through the data connection wizard again for your main data connection in the form? I&amp;#39;m thinking you must have, or you would have had other errors / odd behaviors.... Are you using any query fields on your form? Do you mind attaching your forms to a reply post? Under the options tab there is a place you can attach a file...&lt;/p&gt;</description></item><item><title>Please help - infopath forms are "overwriting" data instead of creating new rows</title><link>https://www.infopathdev.com:443/forums/thread/49575.aspx</link><pubDate>Tue, 01 Dec 2009 15:16:06 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:49575</guid><dc:creator>Desmo</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/49575.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=39&amp;PostID=49575</wfw:commentRss><description>&lt;p&gt;&amp;nbsp;Hello, to anyone whom might be be able to help. I am relatively new with infopath and access and I have the feeling that the answer to my issue is something obvious that I am missing. &lt;/p&gt;&lt;p&gt;&amp;nbsp;The scenario is that I&amp;#39;m using two infopath forms for work that are connected directly to an access database that holds two tables. Each form is linked to it&amp;#39;s respective table. The purpose of these forms is to allow for daily updates from two different work teams (updates involving morning stats etc)&amp;nbsp; Users of the infopath for use the &amp;quot;date picker&amp;quot; field to select the current day&amp;#39;s date, then enter in the appropriate metrics for that day. The data picker value is linked to the &amp;quot;date&amp;quot; data field. &lt;br /&gt;&lt;/p&gt;&lt;p&gt;&amp;nbsp;Here&amp;#39;s the thing, one form works perfectly and the other doesn&amp;#39;t - even though I&amp;#39;ve basically created them equally.&amp;nbsp; The form that works perfectly is form 2. Each day, the user goes in and fills out the morning stats and hit&amp;#39;s &amp;quot;submit&amp;quot;. Then you can see the updates were submitted and the table shows a clean history of the past several months of each day&amp;#39;s report.&amp;nbsp;&lt;/p&gt;&lt;p&gt;What is frustrating is Form 1, because it&amp;#39;s not tracking the history of updates. Rather, each time the user submits the data to form one, instead of creating a whole new record, the data is over writing the previous record. The idea I would like to have here is a continuously updated history of stats so that I can eventually use the data to build graphs off of the metrics and such. &lt;/p&gt;&lt;p&gt;&amp;nbsp;I have my suspicions as to what is causing this. Let me explain some of the settings and I&amp;#39;ll include shots below as well. First, I have 1 to 1 relationship between the two tables in access for the &amp;quot;date&amp;quot; field. I presume that this setting means that both tables understand that this is a unique value and the same between the two records. &lt;/p&gt;&lt;p&gt;Originally, I also had the &amp;quot;date&amp;quot; field as the primary key field, but that lead to strange behavior in terms of some being able to submit the entries at certain times and others not being able to. (Though this may have been due to constraints I placed on the submit button). Either way, I&amp;#39;ve got it now so that there is an &amp;quot;autonumber&amp;quot; generator as the primary key for each table. - Thought I haven&amp;#39;t created a relationship for them,.. that&amp;#39;s up for discussion. I do have the values for the &amp;quot;date&amp;quot; fields set to be indexed so that there are no duplicates....&lt;/p&gt;&lt;p&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; There&amp;#39;s actually a 3rd form we are using that I created which just pulls in all the data from the two tables in a consolidated format, but that is inconsequential since it works fine.. it&amp;#39;s just that half of it is blank b/c there is no history from table 1, only from table 2. &lt;/p&gt;&lt;p&gt;&amp;nbsp;So there&amp;#39;s the main problem i&amp;#39;m having, and I&amp;#39;ve about given up...&amp;nbsp; I can&amp;#39;t stop data rows from being overwritten.&amp;nbsp; Also, it if helps, one person is putting in updates in the evening for form 1, then a second person adds updates in the morning for the same date. I hope i&amp;#39;ve been clear as it is a lot to try to put into words,&amp;nbsp; let me know if any more detail is needed.Thank you all&lt;/p&gt;&lt;p&gt;&amp;nbsp;&lt;/p&gt;&lt;p&gt;the non working table &lt;br /&gt;&lt;/p&gt;&lt;p&gt;&amp;nbsp; &lt;img src="http://i975.photobucket.com/albums/ae240/freefoto12/table1.jpg" title="table 1" alt="table 1" width="254" height="203" /&gt;&lt;/p&gt;&lt;p&gt;&amp;nbsp;&lt;/p&gt;&lt;p&gt;the working table...&lt;/p&gt;&lt;p&gt;&amp;nbsp;&lt;img src="http://i975.photobucket.com/albums/ae240/freefoto12/table2.jpg" title="table 2" alt="table 2" width="333" height="358" /&gt;&lt;/p&gt;&lt;p&gt;&amp;nbsp;&lt;img src="http://i975.photobucket.com/albums/ae240/freefoto12/date.jpg" alt="" /&gt;&lt;br /&gt;&lt;/p&gt;&lt;p&gt;&amp;nbsp;&lt;/p&gt;</description></item></channel></rss>