Use our Google Custom Search for best site search results.
Browse by Tags
-
I have an onClick event routine (vbScript) for a button as follows: Sub TestButton1_OnClick(eventObj) Dim retVal retVal = XDocument.UI.ShowModalDialog("DiaglogHTML.htm", XDocument) MsgBox "retVal =""" & retVal & """" End Sub The html file contains...
-
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...
-
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...
-
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...
-
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...
-
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...
-
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...
-
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...
-
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...
-
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 (10 items)