<?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: RowGuid and SQL2005</title><link>https://www.infopathdev.com:443/forums/thread/51951.aspx</link><pubDate>Fri, 19 Feb 2010 16:29:18 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:51951</guid><dc:creator>dswick</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/51951.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=44&amp;PostID=51951</wfw:commentRss><description>&lt;p&gt;Yes the GUID column in the SQLdb is the primary key.&amp;nbsp; I am an old VB programmer and this has worked fine to let SQL generate the newID but Infopath will not allow me to submit the form when I have not assigned a value to field in the DB that does not allow nulls....&lt;/p&gt;
&lt;p&gt;&amp;nbsp;&lt;/p&gt;
&lt;p&gt;Thanks for your help&lt;/p&gt;</description></item><item><title>Re: RowGuid and SQL2005</title><link>https://www.infopathdev.com:443/forums/thread/51948.aspx</link><pubDate>Fri, 19 Feb 2010 16:21:09 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:51948</guid><dc:creator>Hilary Stoupa</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/51948.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=44&amp;PostID=51948</wfw:commentRss><description>&lt;p&gt;Is your GUID column your primary key in your DB? I was trying to test this, and SQL was quite upset that I wanted to set my GUID column with a calculated default to the PK. &lt;/p&gt;
&lt;p&gt;(If you don&amp;#39;t want to write code for a GUID, and if you are using IP 2007, you could give &lt;a href="http://www.qdabra.com/en/products/qRules.aspx"&gt;qRules&lt;/a&gt; a try. GenerateGuid is one of many cool commands.)&lt;/p&gt;</description></item><item><title>RowGuid and SQL2005</title><link>https://www.infopathdev.com:443/forums/thread/51919.aspx</link><pubDate>Thu, 18 Feb 2010 23:00:03 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:51919</guid><dc:creator>dswick</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/51919.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=44&amp;PostID=51919</wfw:commentRss><description>&lt;p&gt;I have a form that links to a SQL2005 DB that I was hoping to use a field defined as a uniqueidentifier and auto populate with the newid() function.&amp;nbsp; This works fine when i am adding fields via the SQL management studio but when I try and submit a form to the table, i recieve the following error:&lt;/p&gt;
&lt;p&gt;&amp;quot;Infopath cannot submit the form because it contains validation erros that are not in the current view.&amp;nbsp; Errors&amp;nbsp;.......&amp;quot;&amp;nbsp;&lt;/p&gt;
&lt;p&gt;Field or group: pkey (defined as a uniqueidentifier and default value of (newid()))&lt;br /&gt;Error: Only specific pattern allowed&lt;br /&gt;&lt;/p&gt;
&lt;p&gt;I guess I could generate the newid() value in VB code and somehow push this out when the form is published but it would make things easier if the DB could just handle creating the primary key.&lt;/p&gt;
&lt;p&gt;&amp;nbsp;&lt;/p&gt;
&lt;p&gt;Thanks for your help&lt;/p&gt;</description></item></channel></rss>