<?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: ID (primary key) wont auto-generate when add item</title><link>https://www.infopathdev.com:443/forums/thread/7594.aspx</link><pubDate>Mon, 05 Sep 2005 07:11:38 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:7594</guid><dc:creator>jay.whittaker</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/7594.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=141&amp;PostID=7594</wfw:commentRss><description>Well,&lt;br /&gt;It looks like I have solved my own problem.&lt;br /&gt;I changed the ID field in SQL server to be an 'identity' field. This meant that both primary and foreign keys were optional_int type. It now works fine. Seems that the import from Access to SQL server is not as effective as it could be.&lt;br /&gt;&lt;br /&gt;-- Jay Whittaker --</description></item><item><title>Re: ID (primary key) wont auto-generate when add item</title><link>https://www.infopathdev.com:443/forums/thread/7593.aspx</link><pubDate>Mon, 05 Sep 2005 06:29:57 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:7593</guid><dc:creator>jay.whittaker</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/7593.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=141&amp;PostID=7593</wfw:commentRss><description>Another update,&lt;br /&gt;I created an entirely new form linked to the database. It seemed to work when adding a totally new item (ID field is auto-generated), however when adding a new item to a list of items that already exist, the ID field remains blank. I checked this on the SQL server and the ID field does not auto generate. I cannot change the settings to make it do so. I am unsure at this stage whether the problem is in Infopath or SQL server, Due to the inconsistent nature of the problem when testing.&lt;br /&gt;&lt;br /&gt;-- Jay Whittaker --</description></item><item><title>Re: ID (primary key) wont auto-generate when add item</title><link>https://www.infopathdev.com:443/forums/thread/7592.aspx</link><pubDate>Mon, 05 Sep 2005 02:38:09 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:7592</guid><dc:creator>jay.whittaker</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/7592.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=141&amp;PostID=7592</wfw:commentRss><description>I have now changed my source database and remade the database connection, however the field attributes still show as Optional_int. I would think that this is ok, but its worth a try. I find it strange that two microsoft products are so different. SQL server changes the data types of the original access database and infopath needs its own rules and types to operate. The worst thing is that I cannot change the types - they are locked when imported, to solve this problem. Anyone have any ideas?&lt;br /&gt;&lt;br /&gt;-- Jay Whittaker --</description></item><item><title>Re: ID (primary key) wont auto-generate when add item</title><link>https://www.infopathdev.com:443/forums/thread/7591.aspx</link><pubDate>Mon, 05 Sep 2005 01:57:07 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:7591</guid><dc:creator>jay.whittaker</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/7591.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=141&amp;PostID=7591</wfw:commentRss><description>I tried that (go to next error) to get more detail. It tells me that in the ID fields (the fields that I use to link the tables) that only integers are allowed. The data type in the connection is recorded as optional_int, the type in the database source is int (length 4). This should work. I am not sure where this is coming from. I had it working in a trial solution that I built. Just not in the real thing.&lt;br /&gt;&lt;br /&gt;-- Jay Whittaker --</description></item><item><title>Re: ID (primary key) wont auto-generate when add item</title><link>https://www.infopathdev.com:443/forums/thread/7590.aspx</link><pubDate>Fri, 02 Sep 2005 20:34:04 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:7590</guid><dc:creator>wcotech</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/7590.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=141&amp;PostID=7590</wfw:commentRss><description>When previewing the form, I believe if you click Tools (or one of the other menu options) and then click "Go to next error", InfoPath will tell you where the error is.  If the error is not in the current view, you can expand the detail and it will show you where the error is.</description></item><item><title>ID (primary key) wont auto-generate when add item</title><link>https://www.infopathdev.com:443/forums/thread/4890.aspx</link><pubDate>Fri, 02 Sep 2005 06:29:06 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:4890</guid><dc:creator>jay.whittaker</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/4890.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=141&amp;PostID=4890</wfw:commentRss><description>I have a form with a data connection (to an Access database with 7 tables). I cannot submit the form if I add an item with fields that are not in the 'main'/'primary' table.&lt;br /&gt;&lt;br /&gt;I can change and submit data from the main table (any time), and in fields that link to other tables - (if there is data already there). However when I add a new item (new repeating section), I cannot submit the form. This worked ok for me when I built a test form.&lt;br /&gt;&lt;br /&gt;I get a data validation error. There is no indication which field or where the error is coming from.&lt;br /&gt;&lt;br /&gt;Can anyone help?&lt;br /&gt;&lt;br /&gt;-- Jay Whittaker --</description></item></channel></rss>