Use our Google Custom Search for best site search results.
Browse by Tags
-
I am creating an InfoPath 2013 form with C# to pull data from and upload data to SQL Server. As part of the process I had to create a "Select All" Checkbox for my reports list. However, if I use the "Select All" option and then commit the code I get a duplicate record entered. If...
-
Hi! I have created a repeating table in InfoPath 2013 which looks like the following: Id Cancel Cancelled reason 1 Cancel button Text box 2 Cancel button Text box When the user clicks on the ‘Cancel’ button a SQL stored procedure is called. The stored procedure requires two parameters, the ID of the...
-
The solution: Form --> Infopath Field Great post from Jimmy: http://www.infopathdev.com/forums/p/9305/33475.aspx#33475 Big THX for it!! InfoPath field --> Windows Form 1. Concat selected data to a variable 2. Copy the variable to the clipboard 3. In the form: copy back data from the clipboard to...
-
I have created a button to save the infopath form. I was trying to do the following: this.CurrentView.Export(..) For some reason, "Export" method is not appearing in my code editor (using infopath 2010) and my editor is 2005 version, I have installed the 2010 version but was not able to switch...
-
Good day. Need help! How to close form infopath correctly? I have same problem as author (i call web service, show message to user, than close infopath and receive exception) I close infopath like this: thisApplication.ActiveWindow.Close(true) And exception follows: Value cannot be null. Parameter name...
-
Is it possible to design a custom User Control using C# in VSTA for InfoPath without registering it with the COM interop? It's not a control that I'm going to use on any other form, but I have a very specific functionality in mind. I'm still writing the user control to conform to all the...
-
When using InfoPath, the default DATE data type does not have a input recognition when entering only digits such as (41315) to (4/13/15). How to change the user input automatically of number/digits into a date format?
-
Does the ForceUpdate function also cause the validation and formatting rules in the InfoPath form to refresh as well? I'm trying to use it after deleting a signature in the code behind, and it doesn't actually update any of the rules. Then if I go into the Digital Signatures dialog box in InfoPath...
-
I have a code block that detects when signatures (even a specific signature) is removed, and inside this block, I want to set some field values. Presently, I even know how to get and set field values using the XPathNavigator class's .SetValue method. The problem comes in when I try to do both at...
-
Hi All, I'm trying to figure out a way to have the text shrink to fit a fixed width textbox. The form is being converted to PDF for printing so the textbox controls on this form cannot be auto resized. I'm pretty sure I have to do this programmatically in the code behind. Any ideas or suggestions...