<?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>Controls</title><link>https://www.infopathdev.com:443/forums/43.aspx</link><description> </description><dc:language>en</dc:language><generator>CommunityServer 2007 SP3 (Build: 31118.962)</generator><item><title>Re: Invalid Data for decimal values pulled from database</title><link>https://www.infopathdev.com:443/forums/thread/65632.aspx</link><pubDate>Thu, 31 Mar 2011 13:25:45 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:65632</guid><dc:creator>lespaul00</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/65632.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=43&amp;PostID=65632</wfw:commentRss><description>OK, I got it!!!  So... I went to my data connections... and went to &amp;quot;modify&amp;quot; my &amp;quot;Main Connection&amp;quot;.  When I did this, I unchecked &amp;quot;allow multiple....&amp;quot;, and clicked next, and completed the wizard.  Although I do not think unchecking that box fixed the problem... I think my kind of &amp;quot;re-syncing&amp;quot; my database to my form corrected the problem (since, I had been playing around with the data types in the database).

So now, I have all the fields as text.  If I need to worry about making them numbers later, I can convert text to number.</description></item><item><title>Re: Invalid Data for decimal values pulled from database</title><link>https://www.infopathdev.com:443/forums/thread/65630.aspx</link><pubDate>Thu, 31 Mar 2011 13:07:08 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:65630</guid><dc:creator>lespaul00</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/65630.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=43&amp;PostID=65630</wfw:commentRss><description>How do I do that?

The annoying thing is that this same phenomenon is occurring for ALL FIELDS in my form that are numbers with decimals in my database.  Regardless of how I configure the fields in the database and/or in the infopath form, they still populate with that annoying red box around them - preventing me from submitting the form.

For some reason now, the field with the 5 decimal places no longer has the red box around it.  I don&amp;#39;t know what I did, but I checked everything I could think of.  But all my other decimal numbers have the red box.</description></item><item><title>Re: Invalid Data for decimal values pulled from database</title><link>https://www.infopathdev.com:443/forums/thread/65616.aspx</link><pubDate>Thu, 31 Mar 2011 05:04:14 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:65616</guid><dc:creator>Patrick Halstead</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/65616.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=43&amp;PostID=65616</wfw:commentRss><description>&lt;p&gt;Silly idea but why not just copy the value to a text field using a substring function to get all of the digits before the decimal point and the first five after the decimal point. &lt;/p&gt;</description></item><item><title>Invalid Data for decimal values pulled from database</title><link>https://www.infopathdev.com:443/forums/thread/65601.aspx</link><pubDate>Wed, 30 Mar 2011 16:59:26 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:65601</guid><dc:creator>lespaul00</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/65601.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=43&amp;PostID=65601</wfw:commentRss><description>Hello,

OK - this problem is driving me crazy!  I searched all over the internet and found similar problems, but nothing that has solved my problem.

I have a data field in my main connection that is configured as a number with 5 decimal places.  I want it to store a number with 5 decimal places.  It is populated in my form based on a secondary data source field, that is also configured as a number with 5 decimal places.  When my form populates this field, a red dashed box shows around it and when hovering over it it says &amp;quot;Invalid Data&amp;quot;.

So, I tried changing the database field types, tried the &amp;quot;round&amp;quot; feature that is often shown as a &amp;quot;fix&amp;quot; to this problem (online forums), but nothing is working.  The round feature works only if it results in a whole number.

Any help is appreciated.</description></item></channel></rss>