<?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>InfoPath 2010</title><link>https://www.infopathdev.com:443/forums/142.aspx</link><description>Are you exploring new features coming up in 2010? Share information and ask questions here!</description><dc:language>en</dc:language><generator>CommunityServer 2007 SP3 (Build: 31118.962)</generator><item><title>Re: Currency related question</title><link>https://www.infopathdev.com:443/forums/thread/86681.aspx</link><pubDate>Mon, 04 Feb 2013 04:48:41 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:86681</guid><dc:creator>Jimmy</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/86681.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=142&amp;PostID=86681</wfw:commentRss><description>&lt;p&gt;I don&amp;#39;t have a great idea, or a great answer, but I have something that should work. How large are the numbers you&amp;#39;re working with?&lt;/p&gt;&lt;p&gt;You can use a bunch of rules:&lt;/p&gt;&lt;blockquote&gt;&lt;p&gt;Condition: value &amp;gt;= 1000000000&lt;/p&gt;&lt;p&gt;Action: set field: concat(&amp;#39;$&amp;#39;, floor(value div 1000000000), &amp;#39;,&amp;#39;, floor(value&amp;nbsp;mod 1000000000 div 1000000), &amp;#39;,&amp;#39;, floor(value mod 1000000 div 1000), &amp;#39;,&amp;#39;, floor(value&amp;nbsp;mod 1000))&lt;/p&gt;&lt;p&gt;Condition: value &amp;gt;= 1000000 and value &amp;lt; 1000000000&lt;/p&gt;&lt;p&gt;Action: set field: concat(&amp;#39;$&amp;#39;, floor(value div 1000000), &amp;#39;,&amp;#39;, floor(value mod 1000000 div 1000), &amp;#39;,&amp;#39;, floor(value mod 1000))&lt;/p&gt;&lt;p&gt;Condition: value &amp;gt;= 1000 and value &amp;lt; 1000000&lt;/p&gt;&lt;p&gt;Action: set field: concat(&amp;#39;$&amp;#39;, floor(value div 1000), &amp;#39;,&amp;#39;, floor(value mod 1000))&lt;/p&gt;&lt;p&gt;Condition: value &amp;lt; 1000&lt;/p&gt;&lt;p&gt;Action: set field: concat(&amp;#39;$&amp;#39;, floor(value))&lt;/p&gt;&lt;/blockquote&gt;</description></item><item><title>Re: Currency related question</title><link>https://www.infopathdev.com:443/forums/thread/86653.aspx</link><pubDate>Fri, 01 Feb 2013 12:15:21 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:86653</guid><dc:creator>CBMavic</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/86653.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=142&amp;PostID=86653</wfw:commentRss><description>I see that this is an old post, but does any one have a great idea or a great answer?</description></item><item><title>Re: Currency related question</title><link>https://www.infopathdev.com:443/forums/thread/77144.aspx</link><pubDate>Tue, 03 Apr 2012 20:16:43 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:77144</guid><dc:creator>Anson Hidajat</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/77144.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=142&amp;PostID=77144</wfw:commentRss><description>I believe this function only works on the client, so that won&amp;#39;t be a good solution for you :(</description></item><item><title>Re: Currency related question</title><link>https://www.infopathdev.com:443/forums/thread/77135.aspx</link><pubDate>Tue, 03 Apr 2012 17:58:38 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:77135</guid><dc:creator>sjain</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/77135.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=142&amp;PostID=77135</wfw:commentRss><description>&lt;p&gt;I tried this. This is what I put in the rules for my textbox control.&lt;/p&gt;&lt;p&gt;&amp;nbsp;concat(substring-before(EstimatedFeesAndExpensesTxt, &amp;quot;[[EstimatedFee]]&amp;quot;), format-number(FeeAmount,&amp;quot;###,###&amp;quot;), substring-after(EstimatedFeesAndExpensesTxt, &amp;quot;[[EstimatedFee]]&amp;quot;))&lt;/p&gt;&lt;p&gt;When I click on Verify Formula, it returns no errors and works as expected when I preview the form. But, when I publish the form, I get an error stating &amp;quot;unknown expression&amp;quot;. If I still select &amp;quot;Publish Anyway&amp;quot;, the form is not wbe enabled and instead opens in infopath filler.&lt;/p&gt;&lt;p&gt;Where am I making a mistake. Please help!&amp;nbsp;&lt;/p&gt;</description></item><item><title>Re: Currency related question</title><link>https://www.infopathdev.com:443/forums/thread/76478.aspx</link><pubDate>Wed, 14 Mar 2012 23:01:22 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:76478</guid><dc:creator>Anson Hidajat</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/76478.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=142&amp;PostID=76478</wfw:commentRss><description>It&amp;#39;s not there.&amp;nbsp; You&amp;#39;ll have to type it yourself.</description></item><item><title>Re: Currency related question</title><link>https://www.infopathdev.com:443/forums/thread/76472.aspx</link><pubDate>Wed, 14 Mar 2012 21:57:20 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:76472</guid><dc:creator>sjain</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/76472.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=142&amp;PostID=76472</wfw:commentRss><description>I don&amp;#39;t see the format-number function in IP 2010 under rules.</description></item><item><title>Re: Currency related question</title><link>https://www.infopathdev.com:443/forums/thread/76464.aspx</link><pubDate>Wed, 14 Mar 2012 20:30:27 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:76464</guid><dc:creator>Anson Hidajat</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/76464.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=142&amp;PostID=76464</wfw:commentRss><description>You can use the format-number function like this: format-number(field1, &amp;quot;$###,###&amp;quot;).&amp;nbsp; Then you can just append the additional text that you want.&amp;nbsp; Just to warn you this function only works on the client and will not work in the server.&amp;nbsp; I&amp;#39;m not sure if there is an easy solution for the server.</description></item><item><title>Re: Currency related question</title><link>https://www.infopathdev.com:443/forums/thread/76459.aspx</link><pubDate>Wed, 14 Mar 2012 19:35:05 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:76459</guid><dc:creator>sjain</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/76459.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=142&amp;PostID=76459</wfw:commentRss><description>&lt;p&gt;Hello:&lt;/p&gt;&lt;p&gt;Thank you for your response. I think what I should have also added to my scenario is that my second textbox is of type string as i am appending text in this second textbox along with this dollar value. So, your solution will not work for me. &lt;/p&gt;&lt;p&gt;Thanks for any help/guidance that you can provide for this.&lt;/p&gt;</description></item><item><title>Re: Currency related question</title><link>https://www.infopathdev.com:443/forums/thread/76451.aspx</link><pubDate>Wed, 14 Mar 2012 18:34:12 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:76451</guid><dc:creator>Anson Hidajat</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/76451.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=142&amp;PostID=76451</wfw:commentRss><description>&lt;p&gt;Thanks for clarifying your issue.&amp;nbsp; I think what you&amp;#39;re looking for is actually pretty simple.&amp;nbsp; On the second textbox, just set the formatting of the control to display with a currency symbol and use the comma separator.&amp;nbsp; Go to the control properties, click Format in the Data tab (the control probably needs to be bound to a double field) and select the setting you want in there.&amp;nbsp; Hopefully that will do the trick for you.&lt;/p&gt;</description></item><item><title>Re: Currency related question</title><link>https://www.infopathdev.com:443/forums/thread/76435.aspx</link><pubDate>Wed, 14 Mar 2012 16:04:07 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:76435</guid><dc:creator>sjain</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/76435.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=142&amp;PostID=76435</wfw:commentRss><description>&lt;p&gt;Hello :&lt;/p&gt;&lt;p&gt;Thanks for your response. This is what I have and am trying to do.&lt;/p&gt;&lt;p&gt;&amp;nbsp;I have a single line text box(lets call it textbox1)&amp;nbsp;with data type =&amp;quot;Double&amp;quot;, formatting set to &amp;quot;currency ($ US English)&amp;quot;, &amp;quot;Digit Grouping Symbol&amp;quot; checkbox checked. When I enter a value in this textbox (say 1234), the value displayed in this textbox (textbox1) as $1,234. &lt;/p&gt;&lt;p&gt;However, when I want to use the value from textbox1 and put it in some other textbox, I loose the &amp;quot;$&amp;quot; sign as well as the &amp;quot;,&amp;quot; and i get &amp;quot;1234&amp;quot;. I can get around the &amp;quot;$&amp;quot; sign, but, putting commas is the issue I am having.&lt;/p&gt;&lt;p&gt;&amp;nbsp;Hope this clarifies the issue I am having.&lt;/p&gt;&lt;p&gt;Thanks for&amp;nbsp; your response in advance.&lt;/p&gt;</description></item><item><title>Re: Currency related question</title><link>https://www.infopathdev.com:443/forums/thread/76334.aspx</link><pubDate>Tue, 13 Mar 2012 16:05:58 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:76334</guid><dc:creator>Anson Hidajat</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/76334.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=142&amp;PostID=76334</wfw:commentRss><description>&lt;p&gt;Hi there,&lt;/p&gt;&lt;p&gt;I don&amp;#39;t believe the behavior has changed between 2007 and 2010, so that strikes me as bizarre why your form would break all of a sudden.&amp;nbsp; InfoPath will store the raw data in the XML and rely on data formatting to display the value as&amp;nbsp;a currency which has been the model since its conception.&amp;nbsp; What is your scenario for why you want to store the grouping symbol?&amp;nbsp; Can you use display formatting on controls to solve your problem?&amp;nbsp; You mentioned taking the value and inserting it elsewhere on your form.&amp;nbsp; Perhaps you can elaborate on what you&amp;#39;re trying to do and how its currently breaking for you.&lt;/p&gt;</description></item><item><title>Currency related question</title><link>https://www.infopathdev.com:443/forums/thread/76289.aspx</link><pubDate>Mon, 12 Mar 2012 17:04:09 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:76289</guid><dc:creator>sjain</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/76289.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=142&amp;PostID=76289</wfw:commentRss><description>&lt;p&gt;Hello:&lt;/p&gt;&lt;p&gt;&amp;nbsp;I have an IP 2010 form with text boxes of datatype &amp;quot;double&amp;quot;. Under Format, I select currency symbol ($ English United States), decimal places as &amp;quot;Auto&amp;quot; and digit grouping symbol is checked. This works fine as far as displaying the amount is concerned in that text box ($1,200). But, that is not how it is stored internally which causes me a problem when i have to take this value and insert it elsewhere in the form as the digit grouping symbol is gone. This used to work in my IP 2007 form, but, doesn&amp;#39;t in IP 2010.&lt;/p&gt;&lt;p&gt;Is there a way to get this grouping? There is no code and the amount can be in the thousands to a million or more.&lt;/p&gt;&lt;p&gt;&amp;nbsp;Thanks&lt;/p&gt;</description></item></channel></rss>