-
May I suggest a notepad replacement that has parenthetical matching? Notepad 2 (link is to zip) is a great text editor. If you copy a formula into it, and click by a parenthesis, the match highlights in red. Unmatched are highlighted in blue. It can simplify this type of issue for me, at least...
-
1. So you know, you've added jscript code to your form. It doesn't appear that you have actually written any script, just that you have added some event handlers. Did you maybe select the custom code option for submit?
2. When I walk back through the data connection wizard for your main data connection (following the steps I outlined for ...
-
I may not have been clear enough. I do not mean for you to create a new data connection and select 'Submit' as the type. Your form was based off the Access database, is that correct? That is, when you created the form, you selected your database to create the form from? That is the only way InfoPath natively supports database ...
-
Ah, this is a browser compatible form, eh? I'm not sure how to do this in a browser form....
-
What event did you add the line to? In other words, when do you want the form to have the filename set?
-
You should walk through the database wizard for your main data source connection again -- Tools / Data Connections and select your main connection and click Modify. The first screen will show your table and the selected columns, click Next to move to the final screen in the wizard, where you can enter the name for the connection. The 'Enable ...
-
For C#, this.SetSaveAsDialogFileName("nameHere"); and this.SetSaveAsDialogLocation("locationHere);
For VB, you can use Me for this and get rid of the semi-colons....
-
Hi, so you are using vbscript?
Dim objXMLNodes
Set objXMLNodes = XDocument.DOM.selectNodes("/my:myFields/my:group/my:repeatinggroup")
for each node in objXMLNodes
XDocument.UI.Alert(node.nodeName + VBNewLine + node.text)
next
I'm attaching my sample form. In the ...
-
You can save as source files and open manifest.xsf and look for xsf:ruleset elements. Save a copy of your form first, of course, in case you delete something you don't need to. From the MSDN documentation:
Example
The following is an example of the ruleSets element:
<xsf:ruleSets>
<xsf:ruleSet ...
-
Hi:
In C#, I used 'this.Print()' which worked on my test form. Add a button to your form, then under the button's properties, select Edit Form Code. If you are using VB.NET, I'd assume Me.Print() would work. This is for the client version of IP. I'm not sure how to do this for a browser form, but this article on printing to ...