<?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: Urgent help required! How can I get a form to check if a record exist before submitting?</title><link>https://www.infopathdev.com:443/forums/thread/58632.aspx</link><pubDate>Fri, 03 Sep 2010 09:29:07 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:58632</guid><dc:creator>Jose9Reyes</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/58632.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=39&amp;PostID=58632</wfw:commentRss><description>&lt;p&gt;Ok, I&amp;#39;ve quiered the table before submitting and the record is found (I&amp;#39;ve tested this with the use of a display message). However when it tries to submit I get the following error :&lt;/p&gt;
&lt;p&gt;InfoPath cannot submit the form.&lt;br /&gt;Some rules were not applied.&lt;br /&gt;InfoPath cannot submit the form.&lt;br /&gt;An error occurred while the form was being submitted.&lt;br /&gt;The changes you requested to the table were not successful because they would create duplicate values in the index, primary key, or relationship. Change the data in the field or fields that contain duplicate data, remove the index, or redefine the index to permit duplicate entries and try again&lt;/p&gt;
&lt;p&gt;&amp;nbsp;I have an ID key, sitePin(Primary key). Im using the sitePin to locate the record. I know this is caused because of the primary key not being able to change but not sure how to work around it.&lt;/p&gt;</description></item><item><title>Re: Urgent help required! How can I get a form to check if a record exist before submitting?</title><link>https://www.infopathdev.com:443/forums/thread/58630.aspx</link><pubDate>Fri, 03 Sep 2010 08:01:52 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:58630</guid><dc:creator>Patrick Halstead</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/58630.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=39&amp;PostID=58630</wfw:commentRss><description>&lt;p&gt;If you query that record you should get an ID and if you use that with the submit, it should automatically overwrite.&lt;/p&gt;</description></item><item><title>Re: Urgent help required! How can I get a form to check if a record exist before submitting?</title><link>https://www.infopathdev.com:443/forums/thread/58628.aspx</link><pubDate>Fri, 03 Sep 2010 06:24:46 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:58628</guid><dc:creator>Jose9Reyes</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/58628.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=39&amp;PostID=58628</wfw:commentRss><description>OK, if it exists how would I go about overwriting the existing record?</description></item><item><title>Re: Urgent help required! How can I get a form to check if a record exist before submitting?</title><link>https://www.infopathdev.com:443/forums/thread/58626.aspx</link><pubDate>Fri, 03 Sep 2010 06:05:16 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:58626</guid><dc:creator>Patrick Halstead</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/58626.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=39&amp;PostID=58626</wfw:commentRss><description>&lt;p&gt;How about changing your Submit to first Query the connection and look for the record. If it finds it, display a dialog box saying it already exists and stop processing rules. If not, it keeps processing and submits the new record? &lt;/p&gt;</description></item><item><title>Urgent help required! How can I get a form to check if a record exist before submitting?</title><link>https://www.infopathdev.com:443/forums/thread/58608.aspx</link><pubDate>Thu, 02 Sep 2010 20:14:30 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:58608</guid><dc:creator>Jose9Reyes</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/58608.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=39&amp;PostID=58608</wfw:commentRss><description>I have an access database and a form which is getting filled out by Engineers and emailed into the office. The form will be opened and a user will press submit to store the date.

At the moment I have this set up, but the record cannot be added due to a record already existing (imported a list of records). What is the easiest way I can check if a record exists and then replacing it?

I have programing knowledge and have looked around for ideas but to no avail. Help would be much appreciated.</description></item></channel></rss>