<?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: Field won't default to 0</title><link>https://www.infopathdev.com:443/forums/thread/39242.aspx</link><pubDate>Fri, 06 Mar 2009 02:16:46 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:39242</guid><dc:creator>Shiva</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/39242.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=47&amp;PostID=39242</wfw:commentRss><description>&lt;p&gt;Hello,&lt;/p&gt;
&lt;p&gt;Can you check once your rule is setting to that field value or not any other? You have to run this rule after executing the data base retrieve query otherwise again that set back from ‘0&amp;#39; to null.&lt;/p&gt;</description></item><item><title>Field won't default to 0</title><link>https://www.infopathdev.com:443/forums/thread/39231.aspx</link><pubDate>Thu, 05 Mar 2009 20:01:40 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:39231</guid><dc:creator>clawrence</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/39231.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=47&amp;PostID=39231</wfw:commentRss><description>&lt;p&gt;I&amp;#39;m working on a form that is connected to a SQL database.&amp;nbsp; The field I&amp;#39;m working with is not a required, and can accept null.&lt;/p&gt;
&lt;p&gt;When I pull the record information into my form, I then want to set this field to 0.00.&amp;nbsp; I&amp;#39;ve tried setting the control in InfoPath to 0, and that didn&amp;#39;t work.&amp;nbsp; I&amp;#39;ve also tried setting a rule so that when the form is opened, it sets the field to zero.&amp;nbsp; That&amp;#39;s not working, either.&amp;nbsp; Upon submit, the field remains null.&lt;/p&gt;
&lt;p&gt;Does anybody know another way to do this?&lt;/p&gt;</description></item></channel></rss>