<?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: Learning How to Write an expression - needing a little guidance</title><link>https://www.infopathdev.com:443/forums/thread/74639.aspx</link><pubDate>Thu, 26 Jan 2012 23:03:15 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:74639</guid><dc:creator>TxSteve</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/74639.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=39&amp;PostID=74639</wfw:commentRss><description>&lt;p&gt;Yep, it&amp;#39;s brutal sometimes being a rookie. :)&lt;/p&gt;&lt;p&gt;&amp;nbsp;&amp;nbsp;I finished tinkering with the modifications you did for me. THANK YOU Jilary!!! It helped so much. Gave me a much better understanding of how it should be built. Going to start adding other features tomorrow. &lt;/p&gt;&lt;p&gt;Have a very blessed evening. &lt;/p&gt;</description></item><item><title>Re: Learning How to Write an expression - needing a little guidance</title><link>https://www.infopathdev.com:443/forums/thread/74637.aspx</link><pubDate>Thu, 26 Jan 2012 22:30:44 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:74637</guid><dc:creator>Lockdown</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/74637.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=39&amp;PostID=74637</wfw:commentRss><description>&lt;p&gt;Ah ok, thats what I figured. Glad he got it figured out!&lt;/p&gt;</description></item><item><title>Re: Learning How to Write an expression - needing a little guidance</title><link>https://www.infopathdev.com:443/forums/thread/74636.aspx</link><pubDate>Thu, 26 Jan 2012 22:19:21 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:74636</guid><dc:creator>Hilary Stoupa</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/74636.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=39&amp;PostID=74636</wfw:commentRss><description>&lt;p&gt;He was using list boxes because he understood how to filter them. :-) &lt;/p&gt;
&lt;p&gt;I ended up taking this to email, so I could get a copy of the form w/ the data connections intact, and added some default values to better explain what I meant, as well as an expression box showing how he could subtotal the items he wanted.&lt;/p&gt;</description></item><item><title>Re: Learning How to Write an expression - needing a little guidance</title><link>https://www.infopathdev.com:443/forums/thread/74635.aspx</link><pubDate>Thu, 26 Jan 2012 22:14:00 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:74635</guid><dc:creator>Lockdown</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/74635.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=39&amp;PostID=74635</wfw:commentRss><description>&lt;p&gt;What is the need to use List Boxes for the costs?&lt;/p&gt;</description></item><item><title>Re: Learning How to Write an expression - needing a little guidance</title><link>https://www.infopathdev.com:443/forums/thread/74628.aspx</link><pubDate>Thu, 26 Jan 2012 19:44:19 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:74628</guid><dc:creator>TxSteve</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/74628.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=39&amp;PostID=74628</wfw:commentRss><description>&lt;p&gt;Please see attached. &lt;/p&gt;</description></item><item><title>Re: Learning How to Write an expression - needing a little guidance</title><link>https://www.infopathdev.com:443/forums/thread/74623.aspx</link><pubDate>Thu, 26 Jan 2012 19:17:07 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:74623</guid><dc:creator>Hilary Stoupa</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/74623.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=39&amp;PostID=74623</wfw:commentRss><description>&lt;p&gt;Can you attach your form to a reply? Under the Options tab.&lt;/p&gt;</description></item><item><title>Re: Learning How to Write an expression - needing a little guidance</title><link>https://www.infopathdev.com:443/forums/thread/74622.aspx</link><pubDate>Thu, 26 Jan 2012 19:09:05 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:74622</guid><dc:creator>TxSteve</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/74622.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=39&amp;PostID=74622</wfw:commentRss><description>&lt;p&gt;When I select the first cost value with my mouse, the total box will display the correct value of 1.50. When I select the second cost with my mouse for the washer, it will add the two together and display 2.50, when I select the nut cost, it will correctly total 4.00. Not sure why the values display in the list box, but won&amp;#39;t total until clicked on with a mouse. This really has to be something simple that I am missing. &lt;/p&gt;</description></item><item><title>Re: Learning How to Write an expression - needing a little guidance</title><link>https://www.infopathdev.com:443/forums/thread/74621.aspx</link><pubDate>Thu, 26 Jan 2012 19:00:09 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:74621</guid><dc:creator>TxSteve</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/74621.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=39&amp;PostID=74621</wfw:commentRss><description>&lt;p&gt;I have a calculated column (total) in my SharePoint list, &lt;/p&gt;
&lt;p&gt;ID |&amp;nbsp;Bolt&amp;nbsp;| Bolt Cost | Washer | Washer Cost | Nut | Nut Cost | Total&lt;/p&gt;
&lt;p&gt;1&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; 2&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; 1.50&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; 2&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; 1.00&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; 2&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; 1.50&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; 4.00&lt;/p&gt;
&lt;p&gt;2&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; 2&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; 1.50&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;2&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; 1.00&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; 3&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; 2.50&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; 5.00&lt;/p&gt;
&lt;p&gt;3&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; 2&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; 1.50&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; 3&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; 2.00&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; 4&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; 3.50&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; 7.00&lt;/p&gt;
&lt;p&gt;----------------------------------------------------------------------------------------------------------&lt;/p&gt;
&lt;p&gt;Using InfoPath to connect to a SharePoint list, it will not see the Calculated column.&amp;nbsp;I delete my simple connection in InfoPath, create a new one using an XML (owssvr) connection. Now&amp;nbsp;it will see the column, but will not display the value of 4.00 for ID 1,&amp;nbsp;Instead it displays something like, &amp;quot;float;#4.00 0000000000&amp;quot;&lt;/p&gt;
&lt;p&gt;I stopped trying and simply added the Cost columns to my InfoPath form. I added them as List Boxes...only becasue I am learning&amp;nbsp;and they seem to work well.&amp;nbsp;&lt;/p&gt;
&lt;p&gt;So the user selects a Bolt, an associated Washer and an associated&amp;nbsp;Nut.&amp;nbsp;The washers and nuts are filtered to only display what is available for that bolt. It&amp;#39;s working great. The list box&amp;nbsp;totals are working great. They are displaying the corresponding costs. &amp;nbsp;&lt;/p&gt;
&lt;p&gt;At the bottom of the user choice dropdowns&amp;nbsp;are three additional boxes. &lt;/p&gt;
&lt;p&gt;SubTotal:&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; Quantity:&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; Total:&lt;/p&gt;
&lt;p&gt;I can&amp;#39;t get the subtotal to read the values in the list boxes unless you click on them. Thinking I should use something else besides a list box...perhaps an expression.&amp;nbsp;&lt;/p&gt;
&lt;p&gt;&amp;nbsp;&lt;/p&gt;</description></item><item><title>Re: Learning How to Write an expression - needing a little guidance</title><link>https://www.infopathdev.com:443/forums/thread/74620.aspx</link><pubDate>Thu, 26 Jan 2012 18:58:33 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:74620</guid><dc:creator>Hilary Stoupa</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/74620.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=39&amp;PostID=74620</wfw:commentRss><description>&lt;p&gt;Is the field that is bound to the list box being set to a default value of the entry of the list box? It sounds as if when you click on them, you are then setting the value of the field.&lt;/p&gt;</description></item><item><title>Re: Learning How to Write an expression - needing a little guidance</title><link>https://www.infopathdev.com:443/forums/thread/74618.aspx</link><pubDate>Thu, 26 Jan 2012 18:40:23 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:74618</guid><dc:creator>TxSteve</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/74618.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=39&amp;PostID=74618</wfw:commentRss><description>&lt;p&gt;Same challenge. When the list boxes are filtered and display the correct data, the txt box I am using to total them up remains blank. So for example&lt;/p&gt;
&lt;p&gt;Cost A&amp;nbsp;1.00&lt;/p&gt;
&lt;p&gt;Cost B 2.00&lt;/p&gt;
&lt;p&gt;Cost&amp;nbsp;C 3.00&amp;nbsp;&lt;/p&gt;
&lt;p&gt;Total Box:&amp;nbsp; nothing... &lt;/p&gt;
&lt;p&gt;However, &lt;/p&gt;
&lt;p&gt;If I click on each with my mouse, (1.00, 2.00, 3.00) then the total box displays 6.00&lt;/p&gt;</description></item><item><title>Re: Learning How to Write an expression - needing a little guidance</title><link>https://www.infopathdev.com:443/forums/thread/74616.aspx</link><pubDate>Thu, 26 Jan 2012 18:25:13 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:74616</guid><dc:creator>Hilary Stoupa</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/74616.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=39&amp;PostID=74616</wfw:commentRss><description>&lt;p&gt;Hi:&lt;/p&gt;
&lt;p&gt;First, I&amp;#39;m confused as to this:&lt;/p&gt;I have since learned you cannot have a calculated or lookup field. 
&lt;p&gt;What does that mean?&lt;/p&gt;
&lt;p&gt;When you say XML and the GUID - do you mean you added an owssvr data connection to the form? &lt;/p&gt;
&lt;p&gt;All you need here is to be able to subtotal fields that have values that look like this:&lt;/p&gt;
&lt;p&gt;&amp;quot;float;#1.50 0000000000&amp;quot;&lt;/p&gt;
&lt;p&gt;Is that correct?&lt;/p&gt;
&lt;p&gt;So, perhaps:&lt;/p&gt;
&lt;p&gt;number(substring-after(&lt;em&gt;fieldwithdata&lt;/em&gt;, &amp;quot;#&amp;quot;))&lt;/p&gt;
&lt;p&gt;Would work?&lt;/p&gt;</description></item><item><title>Re: Learning How to Write an expression - needing a little guidance</title><link>https://www.infopathdev.com:443/forums/thread/74615.aspx</link><pubDate>Thu, 26 Jan 2012 18:23:21 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:74615</guid><dc:creator>Anson Hidajat</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/74615.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=39&amp;PostID=74615</wfw:commentRss><description>&lt;p&gt;You can set the default value of your total field to be Box1 + Box2 + Box3.&amp;nbsp; Just make sure that the refresh value checkbox is enabled and it should update as you change the values of the other fields.&lt;/p&gt;</description></item><item><title>Re: Learning How to Write an expression - needing a little guidance</title><link>https://www.infopathdev.com:443/forums/thread/74612.aspx</link><pubDate>Thu, 26 Jan 2012 18:14:40 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:74612</guid><dc:creator>TxSteve</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/74612.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=39&amp;PostID=74612</wfw:commentRss><description>&lt;p&gt;So close and yet..&lt;/p&gt;
&lt;p&gt;Now I have list boxes that display the correct associated costs but now I can&amp;#39;t get a text box to sum the list boxes. Odd thing is, if I click on each value in the list box... then it works. &lt;/p&gt;
&lt;p&gt;Surely there is a very easy way to add; Box 1 + Box 2 + Box 3 and display in&amp;nbsp;field. What am I missing? Should I not use List Boxes?&amp;nbsp;&lt;/p&gt;</description></item><item><title>Learning How to Write an expression - needing a little guidance</title><link>https://www.infopathdev.com:443/forums/thread/74597.aspx</link><pubDate>Thu, 26 Jan 2012 15:00:58 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:74597</guid><dc:creator>TxSteve</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/74597.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=39&amp;PostID=74597</wfw:commentRss><description>&lt;p&gt;So I created a sample list in SharePoint 2007. I also have InfoPath 2007.&amp;nbsp;The list columns are; Bolt, Bolt Cost,&amp;nbsp;Washer, Washer Cost,&amp;nbsp;Nut, Nut Cost, and a&amp;nbsp;Calculated field that displays a subTotal.&amp;nbsp;&lt;/p&gt;
&lt;p&gt;I then opened InfoPath and linked to the list. In InfoPath,&amp;nbsp;I associated my dropdown boxes so that if a user selects a specific&amp;nbsp;Bolt, only the corresponding washers and nuts are displayed. I&amp;nbsp;did not&amp;nbsp;add any of the cost columns as I was hoping to add the&amp;nbsp;hidden subtotal&amp;nbsp;field. I also added a&amp;nbsp;Quantity field and finally a box that would take the total and multiply the quantity and display to the user in the final read only field.&lt;/p&gt;
&lt;p&gt;I have since learned you cannot have a calculated or lookup&amp;nbsp;field. I did read on the web where you can use XML and the GUID&amp;nbsp;and&amp;nbsp;to&amp;nbsp;add the subtotal field, however when doing so,&amp;nbsp;all I get is a &amp;quot;float;#1.50 0000000000&amp;quot; listing and my&amp;nbsp;final total field reads NaN. I understand the NaN means I&amp;#39;ve got something wrong such as a numeric filed&amp;nbsp;trying to add a text field.&amp;nbsp;However, I don&amp;#39;t understand the float issue.&amp;nbsp;&lt;/p&gt;
&lt;p&gt;Nonetheless,&amp;nbsp;I&amp;#39;m prepared to abondon&amp;nbsp;the current design and add all of the cost fields, perhaps hidding them, but I am not sure how to associate (filter) the cost boxes to the users selections.&amp;nbsp;The Drop Down boxes I&amp;#39;m using have a filter button, but the text boxes do&amp;nbsp;not. &amp;nbsp;Any suggestions?&lt;/p&gt;
&lt;p&gt;&lt;strong&gt;**Update:&lt;/strong&gt; Since posting above, for grins I added went ahead and added dropdown boxes for the costs and associated them to the existing dropdown choice boxes. The data is filtered correctly. However,&amp;nbsp;I have to obvisouly select the drop down box to enable or activate&amp;nbsp;the costs. The math is working. Guessing I need to now figure out how to replace the temporary dropdown cost boxes with expression boxes or text fields that are filtered.&amp;nbsp; &lt;/p&gt;
&lt;p&gt;&lt;strong&gt;***Update:&lt;/strong&gt; I&amp;nbsp;think I&amp;#39;m on to something... Looks like I can use a list box to return a value and have the filter functionality I am seeking. Life is good!&lt;/p&gt;
&lt;p&gt;&amp;nbsp;&lt;/p&gt;
&lt;p&gt;Thank you&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&lt;/p&gt;
&lt;p&gt;&amp;nbsp;&lt;/p&gt;</description></item></channel></rss>