<?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: Workout the days between 2 dates and converting different currencies</title><link>https://www.infopathdev.com:443/forums/thread/58041.aspx</link><pubDate>Mon, 16 Aug 2010 14:54:01 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:58041</guid><dc:creator>sanvir</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/58041.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=39&amp;PostID=58041</wfw:commentRss><description>&lt;p&gt;&amp;nbsp;Hi Alec,&lt;/p&gt;&lt;p&gt;I have used your codeless method, but i get an error when i choose the first date, saying that some rules were not applied.&lt;/p&gt;&lt;p&gt;Thanks again for the help! &lt;br /&gt;&lt;/p&gt;</description></item><item><title>Re: Workout the days between 2 dates and converting different currencies</title><link>https://www.infopathdev.com:443/forums/thread/57984.aspx</link><pubDate>Fri, 13 Aug 2010 17:25:10 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:57984</guid><dc:creator>Alec Pojidaev</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/57984.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=39&amp;PostID=57984</wfw:commentRss><description>&lt;p&gt;Here is post about data difference: &lt;a href="http://alecpojidaev.wordpress.com/2008/12/30/infopath-codeless-programming-walkthrough-2/"&gt;http://alecpojidaev.wordpress.com/2008/12/30/infopath-codeless-programming-walkthrough-2/&lt;/a&gt;&lt;/p&gt;</description></item><item><title>Re: Workout the days between 2 dates and converting different currencies</title><link>https://www.infopathdev.com:443/forums/thread/57934.aspx</link><pubDate>Thu, 12 Aug 2010 14:56:25 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:57934</guid><dc:creator>sanvir</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/57934.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=39&amp;PostID=57934</wfw:commentRss><description>&lt;p&gt;&amp;nbsp;this is what i have tried for the exchange amounts:&lt;/p&gt;&lt;p&gt;&amp;nbsp;&lt;/p&gt;&lt;p&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; Dim rate1 As String&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; Dim Randamt1 As String&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; Dim foramt1 As String&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; rate1 = MainDataSource.CreateNavigator().SelectSingleNode(&amp;quot;/my:myFields/my:Rate1&amp;quot;, NamespaceManager).Value&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; Randamt1 = MainDataSource.CreateNavigator().SelectSingleNode(&amp;quot;/my:myFields/my:Randamt1&amp;quot;, NamespaceManager).Value&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; foramt1 = MainDataSource.CreateNavigator().SelectSingleNode(&amp;quot;/my:myFields/my:Foramt1&amp;quot;, NamespaceManager).Value&lt;br /&gt;&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; Randamt1 = foramt1 * rate1 &lt;/p&gt;&lt;p&gt;These field data types are all: text (string)&lt;br /&gt;&lt;/p&gt;&lt;p&gt;&amp;nbsp;&lt;/p&gt;</description></item><item><title>Re: Workout the days between 2 dates and converting different currencies</title><link>https://www.infopathdev.com:443/forums/thread/57929.aspx</link><pubDate>Thu, 12 Aug 2010 13:55:42 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:57929</guid><dc:creator>sanvir</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/57929.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=39&amp;PostID=57929</wfw:commentRss><description>&lt;p&gt;&amp;nbsp;i havent added the fields for the other exchange amounts, as i am trying to get one portion of it working..&lt;br /&gt;&lt;/p&gt;</description></item><item><title>Workout the days between 2 dates and converting different currencies</title><link>https://www.infopathdev.com:443/forums/thread/57928.aspx</link><pubDate>Thu, 12 Aug 2010 13:54:02 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:57928</guid><dc:creator>sanvir</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/57928.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=39&amp;PostID=57928</wfw:commentRss><description>&lt;p&gt;&amp;nbsp;Hi,&lt;/p&gt;&lt;p&gt;I am making an international expense claim form for a client.&lt;br /&gt; on the form, i have two date fields (date from and Date to). i also have a days field which has to work out the amount of days between the two dates.&lt;/p&gt;&lt;p&gt;i have tried the datediff function but i cannot get it working. Is there possibly an easier way of doing this as i have no experience with visual basic and i am trying everything i can find.&lt;/p&gt;&lt;p&gt;&amp;nbsp;&lt;/p&gt;&lt;p&gt;the other thing i wanted to find out is working out different currencies:&lt;/p&gt;&lt;p&gt;for instance i have 3 exchange rate fields. I would put in the South African Rand value of these rates.&lt;/p&gt;&lt;p&gt;i would multiply 1 exchange rate amount with the foreign amount to get the rand value.&lt;br /&gt;once the values are worked out, how would i add them up to get a total?&lt;/p&gt;&lt;p&gt;It sounds confusing, but i have attached a picture of the form to give you more/less an idea of what im trying to do.&lt;/p&gt;&lt;p&gt;Thanks in advance! &lt;br /&gt;&lt;/p&gt;</description></item></channel></rss>