<?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>Newbie Questions</title><link>https://www.infopathdev.com:443/forums/39.aspx</link><description>New to InfoPath? Search to see if your question has already been answered. If it has not, then ask it here or the appropriate topic forum.</description><dc:language>en</dc:language><generator>CommunityServer 2007 SP3 (Build: 31118.962)</generator><item><title>Re: Validation Errors on Infopath Calculations-Attn Clay Fox</title><link>https://www.infopathdev.com:443/forums/thread/26222.aspx</link><pubDate>Wed, 06 Feb 2008 04:43:52 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:26222</guid><dc:creator>kentwoodjean</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/26222.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=39&amp;PostID=26222</wfw:commentRss><description>&lt;p&gt;It is interesting that although everything was done as you have indicated, my fields in the data connection are of opt_int.&amp;nbsp; As an additional test, I created a new database, and from the blank shee went through the data wizard and set that up, and dragged in 2 fields for a test of the calculations.&amp;nbsp; Here again, the properties were opt_int.&amp;nbsp; Because of this, I went back to the database and started to do some testing/changing.&amp;nbsp; &lt;/p&gt;
&lt;p&gt;Believe it or not, I finally got it all working.&amp;nbsp; Instead of using the long intreger, fixed and 2 decimals, I used double, fixed and Auto. When I ran the data connection again, my text box ccontrols then showed the type as optional_double where the format button finally brings me to a page where I can set the decimal places to 2.&amp;nbsp; I was not able to get to opt_float as you had indicated.&lt;/p&gt;
&lt;p&gt;It all works, and you were right from the get go.........it was in the data base table.&amp;nbsp; It sure took a lot of figuring to get it to work.&amp;nbsp; A huge thank you for your assistance and for pointing out the many things to check and consider.&amp;nbsp; This is what altimately led me to solution.&lt;/p&gt;</description></item><item><title>Re: Validation Errors on Infopath Calculations-Attn Clay Fox</title><link>https://www.infopathdev.com:443/forums/thread/26216.aspx</link><pubDate>Tue, 05 Feb 2008 20:30:30 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:26216</guid><dc:creator>Clay Fox</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/26216.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=39&amp;PostID=26216</wfw:commentRss><description>&lt;p&gt;SQL Server or SQL Server Express, which is free and you can run on your workstation are similar to Access but are designed for multiple users and have some added features. I am sure you could transition pretty easily.&lt;/p&gt;
&lt;p&gt;&amp;nbsp;So you can see all of your fields in Access with 2 decimal places?&lt;/p&gt;
&lt;p&gt;You modified your data connection and went through it?&lt;/p&gt;
&lt;p&gt;Your fileds now in your data connection should be of type opt_float rather than opt_int.&amp;nbsp; Can you verify this in properties?&lt;/p&gt;
&lt;p&gt;Then you text box controls should allow you to select the format and how many decimal places.&lt;/p&gt;
&lt;p&gt;&amp;nbsp;If you need some one on one instruction/training&amp;nbsp;via a web meeting to get this straightened out you can purchase support credits at the Qdabra store &lt;a href="http://www.qdabra.com/products_all.asp?cat=12"&gt;http://www.qdabra.com/products_all.asp?cat=12&lt;/a&gt;&lt;/p&gt;</description></item><item><title>Re: Validation Errors on Infopath Calculations-Attn Clay Fox</title><link>https://www.infopathdev.com:443/forums/thread/26202.aspx</link><pubDate>Tue, 05 Feb 2008 03:01:54 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:26202</guid><dc:creator>kentwoodjean</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/26202.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=39&amp;PostID=26202</wfw:commentRss><description>&lt;p&gt;Hello again.&amp;nbsp; Just wondering if you have had a chance to view my attachment following the appropriate changes.&amp;nbsp; thanks.&lt;/p&gt;</description></item><item><title>Re: Validation Errors on Infopath Calculations-Attn Clay Fox</title><link>https://www.infopathdev.com:443/forums/thread/26160.aspx</link><pubDate>Fri, 01 Feb 2008 14:42:20 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:26160</guid><dc:creator>kentwoodjean</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/26160.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=39&amp;PostID=26160</wfw:commentRss><description>&lt;p&gt;Thanks for your response.&amp;nbsp; You know, I love Access but putting the 2 programs together like this is driving me nuts.&amp;nbsp; Did I tell you that I still look at myself as a &amp;quot;newbie&amp;quot; who learns something new everyday, mostly in forums from patient folks like yourself.&amp;nbsp; I have changed all the fields to fixed with 2 decimal places as appropriate, re-ran the data connection, but to now avail.&amp;nbsp;&amp;nbsp;Attached is a picture of what it looks&amp;nbsp;like.&amp;nbsp; &lt;/p&gt;
&lt;p&gt;Forgive me for sounding a bit dense, but when you speak of a need for an SQL database, I guess you lost me.&amp;nbsp; Obviously, SQL is computer lanquage that is part of the database so what am I missing here?&amp;nbsp; It is pretty amazing that I can do a lot with coding within the database, but I am not clear on your direction here.&amp;nbsp; How would that differ from what I have?&lt;/p&gt;</description></item><item><title>Re: Validation Errors on Infopath Calculations-Attn Clay Fox</title><link>https://www.infopathdev.com:443/forums/thread/26153.aspx</link><pubDate>Fri, 01 Feb 2008 07:03:26 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:26153</guid><dc:creator>Clay Fox</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/26153.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=39&amp;PostID=26153</wfw:commentRss><description>&lt;p&gt;Your problem is still in Access. Did I mention I don&amp;#39;t like Access? :)&lt;/p&gt;
&lt;p&gt;The fields are not formatted right, and therefore when you run the data connection in InfoPath it does not handle them right either.&lt;/p&gt;
&lt;p&gt;Open your table in design mode.&lt;/p&gt;
&lt;p&gt;Click on the first weight field and see the format entry of fixed I put in. Also notice how when you view the data it shows 2 decimal places. In your form&amp;#39;s data source,&amp;nbsp;the weight field I fixed is a float, where all the others are ints, which only allow whole numbers. This is because the data in your table only shows whole numbers. If you enter data it just rounds it even though it is setup for decimals. This is what bugs me about Access, you have to specifically format.&lt;/p&gt;
&lt;p&gt;You need to change the rest of the fields to fixed also. So that they all&amp;nbsp;show the decimal places in Access.&lt;/p&gt;
&lt;p&gt;Then rerun your data connection wizard and they will all be floats in InfoPath so you can configure the decimal format and they can handle decimal values.&lt;/p&gt;
&lt;p&gt;I still think BC is going to need a SQL database for this and it would make your life simpler in many ways.&lt;/p&gt;
&lt;p&gt;Have Fun&lt;/p&gt;</description></item><item><title>Re: Validation Errors on Infopath Calculations-Attn Clay Fox</title><link>https://www.infopathdev.com:443/forums/thread/26143.aspx</link><pubDate>Fri, 01 Feb 2008 04:19:21 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:26143</guid><dc:creator>kentwoodjean</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/26143.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=39&amp;PostID=26143</wfw:commentRss><description>&lt;p&gt;I apologize but try as I may,&amp;nbsp;I feel somewhat defeated by what I thought shoiuld be so simple.&amp;nbsp; The databae is set correctly for&amp;nbsp;a decimial point with 2 numbers following.&amp;nbsp; If&amp;nbsp;&lt;/p&gt;
&lt;p&gt;my InfoPath form was not attached to a database, there woudl be no problem.&amp;nbsp;&amp;nbsp;I am able to format my fields using the format function under properties to change to data type,&amp;nbsp;and all my calculations work great with no validation errors.&amp;nbsp; However, because it is attached to my database, the properties box&amp;nbsp;does not give me the option to use Format to change the data type (it is grayed out).&amp;nbsp; &lt;/p&gt;
&lt;p&gt;If I enter whole numbers in the weight or height fields the formulas work perfectly in the WeightCal or HeightCal fields with no red validation lines.&amp;nbsp; If I use number with decimals like 150.35 or 70.5, the weight and height fields as well as the WeightCal and HeightCal fields all have valiation lines around them.&amp;nbsp; The final field (Curr BMI) has a red line around it regardless of what numbers are put in the other fields &lt;/p&gt;
&lt;p&gt;I have attached a sample containing just the fields I have spoken to.&amp;nbsp; I figure if there is any way to get this working, I can go back to the original design.&lt;/p&gt;</description></item><item><title>Re: Validation Errors on Infopath Calculations-Attn Clay Fox</title><link>https://www.infopathdev.com:443/forums/thread/25744.aspx</link><pubDate>Thu, 17 Jan 2008 21:23:53 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:25744</guid><dc:creator>Clay Fox</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/25744.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=39&amp;PostID=25744</wfw:commentRss><description>&lt;p&gt;Sure.&lt;/p&gt;
&lt;p&gt;I updated the weight and height fields only to test.&lt;/p&gt;
&lt;p&gt;My guess is you need to go through the data connection wizard again.&amp;nbsp;&amp;nbsp;It will reevaluate the table automatically.&lt;/p&gt;</description></item><item><title>Re: Validation Errors on Infopath Calculations-Attn Clay Fox</title><link>https://www.infopathdev.com:443/forums/thread/25743.aspx</link><pubDate>Thu, 17 Jan 2008 20:42:00 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:25743</guid><dc:creator>kentwoodjean</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/25743.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=39&amp;PostID=25743</wfw:commentRss><description>&lt;p&gt;Is it possible you could send me back what you did?&amp;nbsp; I went in and did everything that you said but I don&amp;#39;t see the field name change in InfoPath.&amp;nbsp; I would like to compare what you did to what I have done so I can better understand where I went wrong.&amp;nbsp; In the meantime, I will keep trying to figure out what I have missed.&amp;nbsp; Also, thanks so much for your advice about SQL.&amp;nbsp; I am working into this.&amp;nbsp;.&lt;/p&gt;</description></item><item><title>Re: Validation Errors on Infopath Calculations-Attn Clay Fox</title><link>https://www.infopathdev.com:443/forums/thread/25741.aspx</link><pubDate>Thu, 17 Jan 2008 19:34:12 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:25741</guid><dc:creator>Clay Fox</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/25741.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=39&amp;PostID=25741</wfw:commentRss><description>&lt;p&gt;This has reminded me why I hate Access.&lt;/p&gt;
&lt;p&gt;I would seriously recommending a switch to SQL or SQL Express as these little format things are much simpler since it does not try to hold your hand on everything.&lt;/p&gt;
&lt;p&gt;Two things.&lt;/p&gt;
&lt;p&gt;One - you need data, at least one row in your table. InfoPath also uses the data to determine what type of field it is or to create in the main schema.&amp;nbsp; &lt;/p&gt;
&lt;p&gt;Two - I switched the format of a number field (In Design view and in the properties for the field) to fixed so it showed two decimal places in Access.&lt;/p&gt;
&lt;p&gt;Then run through the data connection wizard again - modify - next - etc.&lt;/p&gt;
&lt;p&gt;You will notice then that it will change&amp;nbsp;the field type in InfoPath to a float instead of an integer and you can set the decimal places etc.&lt;/p&gt;
&lt;p&gt;Ironically&amp;nbsp;I have made a very similar weight form before. If you are going to be distributing this to a wide audience you really need SQL, since it is made for such a use, and will perform better and make your life easier.&lt;/p&gt;</description></item><item><title>Validation Errors on Infopath Calculations-Attn Clay Fox</title><link>https://www.infopathdev.com:443/forums/thread/25731.aspx</link><pubDate>Thu, 17 Jan 2008 16:07:22 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:25731</guid><dc:creator>kentwoodjean</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/25731.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=39&amp;PostID=25731</wfw:commentRss><description>&lt;p&gt;Per your request, I am attaching the DB and InfoPath Template that I am having problems with.&amp;nbsp; Everything works except when I attemt to submit to the Access DB.&amp;nbsp; Entries without the decimal point work good.&lt;/p&gt;</description></item></channel></rss>