<?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>Re: Preventing duplicate submission</title><link>https://www.infopathdev.com:443/forums/thread/100444.aspx</link><pubDate>Sun, 07 Dec 2014 08:50:44 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:100444</guid><dc:creator>donstephen</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/100444.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=44&amp;PostID=100444</wfw:commentRss><description>&lt;p&gt;Hi Sephaerius,&lt;br /&gt;&lt;br /&gt;&lt;/p&gt;&lt;p&gt;I haven&amp;#39;t&amp;nbsp;done any InfoPath-Access work yet but&amp;nbsp;I would suggest querying&amp;nbsp;Access with the Account Number first. If the data connection returns data (number of rows &amp;gt; 0), then you could halt the submit process and display an error message like&amp;nbsp;&amp;quot;The Account Number already exists. Please enter a different Account Number&amp;quot;.&amp;nbsp;Otherwise (if number of rows = 0), continue with the&amp;nbsp;submit logic. I hope this makes sense.&lt;br /&gt;&lt;br /&gt;Regards,&lt;/p&gt;</description></item><item><title>Preventing duplicate submission</title><link>https://www.infopathdev.com:443/forums/thread/100430.aspx</link><pubDate>Fri, 05 Dec 2014 13:21:47 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:100430</guid><dc:creator>Sephaerius</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/100430.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=44&amp;PostID=100430</wfw:commentRss><description>&lt;p&gt;Hi,&lt;/p&gt;&lt;p&gt;I&amp;#39;m brand new to InfoPath so bear with me. I&amp;#39;ve setup a form linked to an Access database - seems to work fine so far. My endgame is to have about 100 users or so submit requests into this database via the infopath form, however duplicate submission could be a problem. Is there a way I can throw a validation error (or the like) when the Submit button is clicked if the form detects that the text in the Account Number field already exists in the database?&lt;br /&gt;&lt;/p&gt;</description></item></channel></rss>