-
Hi Dean,
You can write all common methods in one class file and save this file as FileName.cs extension.
For example: Your saved file namespace is “CommonFile” and class name is “Utilities”.
Follow these below steps to your second solution file for adding above class file.
1. Right click on Solution file and select “Add” - > “Add Existing ...
-
Hi Michael,
You can find more information about .net round method athttp://msdn.microsoft.com/library/default.asp?url=/library/en-us/cpref/html/frlrfSystemMathClassRoundTopic.asp
-
Hi Michael,
In .NET we can round the decimals Math.Round method
Math.Round(3.446, 2); //Returns 3.45.
You can find more information about .net round method athttp://msdn.microsoft.com/library/default.asp?url=/library/en-us/cpref/html/frlrfSystemMathClassRoundTopic.asp
-
Hi,
You can do this using conditional formatting on filedY in Repeating table2. .
Do the below steps.
1.Double click on FieldY.
2.Click on Display tab.
3.Click on Conditional formatting.
4.set the condition as Check field is equal to true then select Read only formatting. and click on OK button three times.
I Hope this will wok for ...
-
Hi--
I am trying to do the same thing--limit characters in a regular text box that has paragraph breaks.I don't understand the solution posted here. If I go into the options for my text box and open the validation window and select ''The expression'' from the first drop down and type in .{251,} I get an error. What expression will create a ...
-
Hello,
For the following error message:
''The following view of the form includes a control with an error: Review View''
''Data entered into the control will not be stored.''
Where is the location of the error stored? The message as described left this crucial piece of information out of it's formatted message. Is this stored in a error log ...
-
How do you get the round math funtion to show a decimal. So far I have this and it shows this......round((@MoneySpent / @MoneyBudget) * 100)
and it shows this 98.0
I want this to show 98.5
-
I am trying to add an item in the custom list on the sharepoint site from an InfoPath form but it is giving me an error:
Message: ''Exception of type Microsoft.SharePoint.SoapServer.SoapServerException was thrown.''
Source: ''System.Web.Services''
StackTrace: ''at System.Web.Services.Protocols.SoapHttpClientProtocol.ReadResponse(SoapClientMessage ...
-
Hey Patrick,
thanks for the info. Could you provide an example of how you would set the form name onload? I would greatly appreciate it.
S.
-
How can I access the same code from multiple forms? I don't want to copy and paste the same functions into the forms since this could become a maintenance headache.
TIA
Dean