You searched for the word(s): 12
-
I have a repeating table with the following fields:
WBA
StartDate
EndDate
DateDiff
OPAmount
And a repeating table footer with the following field:
TotalOP
To calculate the DateDiff, I followed the steps here: http://alecpojidaev.wordpress.com/2008/12/30/infopath-codeless-programming-walkthrough-2/
The finalize rule is set ...
-
OK, got it working in preview mode.
But I still get an error when trying to publish to the share, about it only being able to opened in filler.
-
Under the Developer tab on the ribbon, select Language.
Click the Remove Code to remove your current code.
Make sure the language is set to C#.
Click OK to close the dialog.
Under the Developer tab on the ribbon, click Loading Event.
Wait for the code editor to open.
The loading event will look like this:
public void ...
-
I must be doing something wrong,
If I copy/paste that code into my form, I get an error that says there are 'build errors' and then it won't even start the publishing wizard to let me put the path to my SP site.
Does the code need to go in a certain spot?
-
Yes. In C# at least, Visual Studio highlights strings in a red tone. Please see the attached screenshot. I'm assuming you get an error because the code won't compile? Did you set the form to use VB or C#? The reason we provided you with a sample with code was so you could easily try to publish to see if you had an issue with your IPFS ...
-
I should leave the quotes right?
I get an error when trying to preview using this code, I have a field named field1 but in VBA it shows the stuff in the quotes in RED.
-
Hi - I added a simple loading event:
public void FormEvents_Loading(object sender, LoadingEventArgs e)
{
MainDataSource.CreateNavigator().SelectSingleNode("/my:myFields/my:field1", ...
-
Hi,
What was the code that you added to this sample form?
It would not publish for me, and I'm working with our support team, but they are asking me what code is in the form.
-
I have a field in a repeating table that will have a different number each time a new row is added. I want to calcuate the difference of the field in one row with the field in the previous row, but in percentages in a another field. I need to show the increase or decrease from one month to the next in percentages. For ...
-
Thanks Anson. Is there any way to calculate the number of lines in a given repeating section. Might seem a bit old-school, but thinking of possibly counting the lines and working out a formula to "guesstimate" when a section will go over the max number that will fit onto a page, hence triggering a page-break. I'm VERY new to ...