<?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>SQL Database Integration</title><link>https://www.infopathdev.com:443/forums/47.aspx</link><description>For questions concerning issues in the integration of SQL and Microsoft InfoPath.</description><dc:language>en</dc:language><generator>CommunityServer 2007 SP3 (Build: 31118.962)</generator><item><title>Re: SQLServer uniqueid columns</title><link>https://www.infopathdev.com:443/forums/thread/16898.aspx</link><pubDate>Sat, 26 Feb 2005 20:43:05 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:16898</guid><dc:creator>Anonymous</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/16898.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=47&amp;PostID=16898</wfw:commentRss><description>I have the same problem - but I don't know how to modify the automatically-created schema. If I extract the Infopath document as a collection of files and then modify the relevant XSD file so that the attribute is 'optional' and then reopen the Infopath document in design mode, the uniqueidentifier field still shows as a mandatory item and I am unable to change the mandatory field setting.&lt;br /&gt;&lt;br /&gt;How can I modify an automatically-created connection so that I can submit a record without a GUID? I tried changing database settings so that the GUID is not a primary key and can be null, but that causes too many problems with DB relationships. There must be a better way! This one puzzles me because I have Googled for it and found very little - just people suggesting to use a made-up GUID instead of the built in SQL type. It seems like this should be a really common problem; unless I'm misconstruing something altogether...</description></item><item><title>Re: SQLServer uniqueid columns</title><link>https://www.infopathdev.com:443/forums/thread/16897.aspx</link><pubDate>Tue, 05 Oct 2004 20:17:10 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:16897</guid><dc:creator>Greg Collins</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/16897.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=47&amp;PostID=16897</wfw:commentRss><description>You should be able to hack the schema created for your database connection and change the field to optional.&lt;br /&gt;&lt;br /&gt;If you ever update your data connection you will need to do this again.&lt;br /&gt;&lt;br /&gt;Greg Collins [InfoPath MVP]</description></item><item><title>SQLServer uniqueid columns</title><link>https://www.infopathdev.com:443/forums/thread/16699.aspx</link><pubDate>Mon, 04 Oct 2004 21:01:17 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:16699</guid><dc:creator>Anonymous</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/16699.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=47&amp;PostID=16699</wfw:commentRss><description>I am using INFOPATH to submit to a SQL database.&lt;br /&gt;I have a 1 to many relationship, where the PK of the child table&lt;br /&gt;is a uniqueidentifier in one of the PK columns named SEQ which is defaulted to 'NEWID()' at the DB side.&lt;br /&gt;&lt;br /&gt;Question is there any way to tell infopath to allow this field to be blank. Infopath forces it to be in the datasource, and makes it required.&lt;br /&gt;&lt;br /&gt;Tx&lt;br /&gt;&lt;br /&gt;Matt&lt;br /&gt;</description></item></channel></rss>