Browse by Tags - InfoPath Dev
InfoPath Dev is dedicated to bringing you the information and tools you need to be successful in your Microsoft Office InfoPath development projects.
All Tags » code » Vbscript
Office365 Alert - Sandbox has been deprecated in SharePoint Online. Read more here.
Having trouble finding a blog or post that answers your question?
Check out our Custom Search Page
Browse by Tags
code Vb notes submit sharepoint
export to text
Programmatically Copy Data from Secondary Data Connection into Main Data Connection
I am having trouble copying data from my secondary data connection into my main data connections repeating table, below is my code for adding an item to my main data connections repeating table: Private Sub AddItem( _ ByVal Car As String) Dim doc As XmlDocument = New XmlDocument() Dim group As XmlNode...
VBScript to read data from data connection
I am new to InfoPath. I am using 2003 version. I need to create button on my form with code in VBScript for: reading data from some data connection (some library on Sharepoint) and take Maximum value from some field. I don't know how to do in VBScript link on this field. I am able create Combobox...
Getting corrent user
I have a big trouble. I need to get the username but i can't create an activexobject. the code that i'm using is: Sub XDocument_OnLoad(eventObj) Dim wsh Dim un wsh = CreateObject("WScript.Network") un = wsh.UserName XDocument.UI.Alert(un) XDocument.DOM.selectSingleNode("//my:campiPersonali...
Using VBscript to set a control to be required or not required
How do I make controls required only if a radio button a control is a certain value? I know I can do this based on the OnAfterChange, just not sure what the code would be. Just to rephrase - Is there a programatic way (Vbscript) to set the attribute (Can Not Be Blank) for a control? example: if (XDocument...
Programmatically add a row at the end of a repeating table
Greetings, I am using InfoPath 2007 and VBScript. I have an optional section where I have placed a repeating table whose xCollection name is group6_22. My Data source looks like RepTable filed1 filed2 OptSection I am trying to add a row at the end of the repeating table. When I used the code XDocument...
Submit current view via email for InfoPath 2003 users
For some time now, I have been on the hunt for a solution to allow InfoPath 2003 users to submit the current view (not the default view) of a form via email (Outlook) without it sending as an attachment. From what I am learning, there is a certain script or code that I can apply to the submit button...
need custom submit code sample/example
I'm new to InfoPath. Can someone post some sample code for submit. My immediate interest is in code to handle email submission. Or is there a way to view the code associated with a normal submit button? A normal submit button to an email address doesn't seem to generate any script code, or at...
Cloning while using Master/Detail control
Hi. I am using Infopath 2003 SP2, Access 2003 and prg language is VBScript. I have gone through post for iterating through repeating table. The main data source in my form for looks like below: myFields dataFields d:DealsMaster DealsDetails I have a master detail control on the form. The form works fine...
Checking for the existence of a file
I am using the code below to change the location of a Secondary data connection. This works fine but if the file does not exist, the FileQueryConnection.Execute() method generates an error of its own regardless of the Try block. I would like to avoid this error (confuses the users) by checking for the...
Page 1 of 1 (9 items)