<?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: where to save exchange rates that are used in a form?</title><link>https://www.infopathdev.com:443/forums/thread/48839.aspx</link><pubDate>Tue, 10 Nov 2009 05:55:07 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:48839</guid><dc:creator>omerkadari</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/48839.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=39&amp;PostID=48839</wfw:commentRss><description>&lt;p&gt;&amp;nbsp;&lt;/p&gt;
&lt;p&gt;Hi! How can u modify the objects of the expense report, no matter what i do it&amp;#39;s locked?&lt;/p&gt;
&lt;p&gt;&amp;nbsp;&lt;/p&gt;
&lt;p&gt;tx&lt;/p&gt;
&lt;p&gt;&amp;nbsp;&lt;/p&gt;
&lt;p&gt;&amp;nbsp;&lt;/p&gt;</description></item><item><title>Re: where to save exchange rates that are used in a form?</title><link>https://www.infopathdev.com:443/forums/thread/19674.aspx</link><pubDate>Tue, 08 May 2007 14:52:00 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:19674</guid><dc:creator>Matt Faus</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/19674.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=39&amp;PostID=19674</wfw:commentRss><description>Well done!</description></item><item><title>Re: where to save exchange rates that are used in a form?</title><link>https://www.infopathdev.com:443/forums/thread/19667.aspx</link><pubDate>Tue, 08 May 2007 12:58:22 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:19667</guid><dc:creator>galliumarsenide</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/19667.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=39&amp;PostID=19667</wfw:commentRss><description>&lt;p&gt;aah.. i got the solution!&lt;/p&gt;&lt;p&gt;the descriped if/else tree can be modelled as:&lt;/p&gt;&lt;p&gt;&amp;nbsp;&lt;br /&gt;field_value=&lt;/p&gt;&lt;p&gt;specified_price * (contains(currency, &amp;quot;CHF&amp;quot;) + contains(currency, &amp;quot;EUR&amp;quot;) * 1.5 + contains(currency, &amp;quot;USD&amp;quot;) * 1.3 )&lt;/p&gt;&lt;p&gt;&amp;nbsp;&lt;/p&gt;&lt;p&gt;since the contains(A, B) function returns 1 when field A contains string B, and 0 if it doesn&amp;#39;t. :D&lt;/p&gt;&lt;p&gt;&amp;nbsp;&lt;/p&gt;</description></item><item><title>Re: where to save exchange rates that are used in a form?</title><link>https://www.infopathdev.com:443/forums/thread/19665.aspx</link><pubDate>Tue, 08 May 2007 12:16:17 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:19665</guid><dc:creator>galliumarsenide</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/19665.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=39&amp;PostID=19665</wfw:commentRss><description>&lt;p&gt;thanks for the hint! unfortunately, in that example form the user has to enter the exchange rates every time he fills out the form. i need to specify those rates within the form itself, somehow.. :/&lt;br /&gt;&lt;/p&gt;&lt;p&gt;(i need just approximate values.)&amp;nbsp;&lt;/p&gt;&lt;p&gt;&amp;nbsp;&lt;/p&gt;&lt;p&gt;what would be a really convenient way is if i could use some kind of if statements in the &amp;#39;default value&amp;#39; box, since i only have a handful of currencies. like:&lt;/p&gt;&lt;p&gt;if currency=&amp;quot;CHF&amp;quot; {field_value=1*entered_price} &lt;br /&gt;else&lt;br /&gt;&amp;nbsp; if currency=&amp;quot;EUR&amp;quot; {field_value=1.5*entered_price} &lt;br /&gt;&amp;nbsp; else&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; if currency=&amp;quot;USD&amp;quot; {field_value=1.3*entered_price} &lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; else {field_value=0 }&lt;br /&gt;&lt;/p&gt;&lt;p&gt;&amp;nbsp;&lt;/p&gt;&lt;p&gt;....... isn&amp;#39;t there any documentation or so on the expression syntax?&amp;nbsp;&lt;/p&gt;</description></item><item><title>Re: where to save exchange rates that are used in a form?</title><link>https://www.infopathdev.com:443/forums/thread/19647.aspx</link><pubDate>Mon, 07 May 2007 22:13:16 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:19647</guid><dc:creator>Matt Faus</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/19647.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=39&amp;PostID=19647</wfw:commentRss><description>Hi GaAs,
&lt;br /&gt;&lt;br /&gt;
InfoPath includes an International Expense Report form as a sample, which implements exactly what you are talking about.  Maybe you can just modify this example to suit your needs. Check it out!</description></item><item><title>where to save exchange rates that are used in a form?</title><link>https://www.infopathdev.com:443/forums/thread/19645.aspx</link><pubDate>Mon, 07 May 2007 21:45:36 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:19645</guid><dc:creator>galliumarsenide</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/19645.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=39&amp;PostID=19645</wfw:commentRss><description>&lt;p&gt;Hi,&lt;/p&gt;&lt;p&gt;I need to impement a form were the user can select from different currencies, whereupon the values in the fields are recalculated depending on the choice.&lt;br /&gt;concretely:&lt;/p&gt;&lt;p&gt;a field: &lt;strong&gt;specified_price&lt;/strong&gt;, &amp;quot;specify price:&amp;quot;&lt;br /&gt;dropdownmenu: &lt;strong&gt;currency,&lt;/strong&gt; &amp;quot;specify currency:&amp;quot; (USD/EUR/CHF etc.)&lt;/p&gt;&lt;p&gt;an unchangeable field/formula box: &lt;strong&gt;price_in_CHF&lt;/strong&gt;, &amp;quot;price in CHF&amp;quot;&amp;nbsp;&lt;/p&gt;&lt;p&gt;so when the currency is changed the &amp;quot;specify price&amp;quot;-field value should be multiplied with a factor to obtain the price in CHF. clearly, those factors (exchange rates) need to be specified somewhere and my question is where/how. I&amp;#39;ve tried using unchangable data-fields with standard values within the form template, but then wasn&amp;#39;t able to implement the calculation. The problem is, I need to have the rates in some kind of repeating data-source form to perform (something like):&lt;br /&gt;&lt;strong&gt;&lt;br /&gt;price_in_CHF&lt;/strong&gt; = (&lt;em&gt;&lt;strong&gt;exchange_rate&lt;/strong&gt;&lt;/em&gt; where &lt;em&gt;&lt;strong&gt;currency_name&lt;/strong&gt;&lt;/em&gt;=&lt;strong&gt;currency&lt;/strong&gt;) * &lt;strong&gt;specified_pice&lt;/strong&gt; ... &lt;/p&gt;&lt;p&gt;So next, i tried having the exchange rates in an external XML file, which worked, but it is rather troublesome to change the values like this (the xml file needs to be imported anew every time). The rates don&amp;#39;t have to be changeable quickly, i was told that they just want to be able to adapt them once or twice a year, so they told me they could do it by changeing something in the infopath-template. &lt;/p&gt;&lt;p&gt;Anyone got some suggestions how to implement this conveniently?&lt;/p&gt;&lt;p&gt;Regards,&lt;/p&gt;&lt;p&gt;Fabian&lt;br /&gt;&amp;nbsp;&lt;/p&gt;</description></item></channel></rss>