<?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>Microsoft Access</title><link>https://www.infopathdev.com:443/forums/141.aspx</link><description>Qdabra is committed to answering InfoPath questions. However, we do not support Microsoft Access. For non-Access questions, please use the other boards.</description><dc:language>en</dc:language><generator>CommunityServer 2007 SP3 (Build: 31118.962)</generator><item><title>Re: Insert new record into Access database</title><link>https://www.infopathdev.com:443/forums/thread/48300.aspx</link><pubDate>Wed, 28 Oct 2009 00:37:22 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:48300</guid><dc:creator>Hilary Stoupa</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/48300.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=141&amp;PostID=48300</wfw:commentRss><description>&lt;p&gt;Hi:&lt;/p&gt;
&lt;p&gt;As far as I know, the first scenario you described should work -- at least I&amp;#39;ve done that with SQL in the past and haven&amp;#39;t had any troubles. I&amp;#39;m not sure if the sample db described in &lt;a href="http://office.microsoft.com/en-us/help/HA011199501033.aspx"&gt;this article&lt;/a&gt; has an auto incrementing id, but I&amp;#39;d imagine it would....&lt;/p&gt;</description></item><item><title>Insert new record into Access database</title><link>https://www.infopathdev.com:443/forums/thread/48113.aspx</link><pubDate>Wed, 21 Oct 2009 18:04:08 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:48113</guid><dc:creator>jraylor</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/48113.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=141&amp;PostID=48113</wfw:commentRss><description>&lt;p&gt;I have a Db with 6 fields. One of the fields is the primary key that auto increments, I have the InfoPath form connected to the DB. I am trying to do the following:&lt;/p&gt;
&lt;p&gt;When an end user opens the form, I want them to fill out the 5 text boxes and&amp;nbsp;click submit button. When the submit button is clicked, I would like the data to go to the corresponding fields.&amp;nbsp; When I test this, I get the following error:&amp;nbsp; Infopath cannot submit the form.&amp;nbsp; The form does not contain any new data to submit to the data source.&lt;/p&gt;
&lt;p&gt;I set up a second data source without the auto increment field and the data submitted without error.&amp;nbsp; &lt;/p&gt;
&lt;p&gt;So I guess my question is:&amp;nbsp; How do I force the primary key field in the access database to auto generate when the form is submitted?&amp;nbsp; &lt;/p&gt;</description></item></channel></rss>