-
I figured it out. http://www.infopathdev.com/forums/t/11349.aspx The problem was with floating arithmetic. I thought it was weird that the problem occurred randomly and out of 20 or so requests, this was the first time it had happened. I was able to resolve it with the following formula. (PRIN + INT + ANNUAL + LATE + ...
-
This is the code I have so far but the editor is kicking out an error that says: Name 'CreateObject' is not declared
Public Sub CTRL1_5_Clicked(ByVal sender As Object, ByVal e As ClickedEventArgs)
Dim appAccess As ObjectappAccess = CreateObject("Access.Application") ...
-
Have you saved your XML and looked at it in a text editor? I have a feeling your other controls may be set to display only two decimal places and PRIN and INT are not the values you think they are - that the formatted and actual values are different.
-
I did exactly that and it worked. Thank you very much for the help.
And thank you for the advice as well, this is the first time I have ever used infopath, and I think I will continue to use it for many things in the future. Every little bit counts :)
-
So - what do you mean here? Are you writing custom code for your form and you need a variable in the code? Or do you need a form field that you can store data in? A little more information would help....
-
I have a formula to to sum 5 fields which are all set to data type Decimal (double), Currency format, and 2 decimals. The total field formula = sum(PRIN) + sum(INT) + sum(ANNUAL) + sum(LATE) + sum(OtherFees)
For some reason, when PRIN = 2.90, INT - 1.03, and all other fields = 0.00, the total sums as 3.9299999999999997 instead of ...
-
Hi,
I'm trying to retrieve the display name from a dropdown list box in code behind with no luck.
code is c#
Form is browser compatible info-path 2007.
the values in the Drop-down were inserted manually(not taken from a list).
here is my code to get the value(I need the DislayName):
string ID = ...
-
I want to be able to display the current version of the form on the form itself (have this piece in place) and have it update a date box when the version changes. I have tried doing this a couple of ways but the date box always displays today's date regardless if the version has changed or not. In both scenarios Versioning is set to ...
-
I have a form that is used to collect data and save it to an Access database. This form is published to a network path (not SharePoint) that all users have rights to. The form works great on my machine and a couple of others that I've tested it on but several other people in my department are getting various (inconsistant) errors ...
-
Thanks Hilary,
That helped and I got it working!