Search - InfoPath Dev Sign in | Join | Help InfoPath Dev InfoPath Dev is dedicated to bringing you the information and tools you need to be successful in your Microsoft Office InfoPath development projects. Home Blogs Forums Photos Downloads Search More Search Options Page 1 of 3 (30 items) 1 2 3 Next > Re: calculations in infopath using VB thanks for the help! i got it working finally!! instead of using CInt, i used CDbl and i worked with the decimal values! thanks again Posted to Newbie Questions (Forum) by sanvir on 08-20-2010 Re: calculations in infopath using VB ok, i got it working.. i used totrandamt1 = CInt(rantamt1) + CInt(randamt2) etc.. How do i get the total field to show the full amount and not just a round figure (eg: 3.45 instead of 3) Posted to Newbie Questions (Forum) by sanvir on 08-20-2010 Re: calculations in infopath using VB thank you for the help again! I have changed the field types to text (they were set to integer). I have 1 last problem! how do i add up the fields numbers? i have tried: Totrandamt1 = randamt1 + randamt2 + randamt3. but this just shows the numbers in the fields and does not add them up. Posted to Newbie Questions (Forum) by sanvir on 08-20-2010 Re: calculations in infopath using VB I have tried this code for the other fields, but im getting this error: "Schema validation found non-data type errors." I dont get the error on Randamt1, but get this error on the ones after.. Dim rate1 As ... Posted to Newbie Questions (Forum) by sanvir on 08-16-2010 Re: Workout the days between 2 dates and converting different currencies Hi Alec, I have used your codeless method, but i get an error when i choose the first date, saying that some rules were not applied. Thanks again for the help! Posted to Newbie Questions (Forum) by sanvir on 08-16-2010 Re: calculations in infopath using VB Hi mgarant, Thank you very much!! it works! would i do the same for adding up values? I would also like to know what to do if there is not value in the fields as i am going to have 3 different exchange rates and converting them into the Rand value. i Presume i would need an If statement, but im not sure how to go about doing ... Posted to Newbie Questions (Forum) by sanvir on 08-16-2010 calculations in infopath using VB HI, I am trying to do calculations in infopath, but i cannot seem to get them working. I have little experience in infopath so im not sure what i am doing wrong. this is what i currently have: Dim rate1 As Integer Dim Randamt1 As Integer Dim foramt1 As Integer Rate1 = ... Posted to Newbie Questions (Forum) by sanvir on 08-16-2010 Re: Workout the days between 2 dates and converting different currencies this is what i have tried for the exchange amounts: Dim rate1 As String Dim Randamt1 As String Dim foramt1 As ... Posted to Newbie Questions (Forum) by sanvir on 08-12-2010 Re: Workout the days between 2 dates and converting different currencies i havent added the fields for the other exchange amounts, as i am trying to get one portion of it working.. Posted to Newbie Questions (Forum) by sanvir on 08-12-2010 Workout the days between 2 dates and converting different currencies Hi, I am making an international expense claim form for a client. 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. 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 ... Posted to Newbie Questions (Forum) by sanvir on 08-12-2010 Page 1 of 3 (30 items) 1 2 3 Next > Copyright © 2003-2019 Qdabra Software. All rights reserved.View our Terms of Use.