Browse by Tags - InfoPath Dev

InfoPath Dev

Use our Google Custom Search for best site search results.

Browse by Tags

  • ShowModalDialog displays blank window

    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...
    Posted to Code (Forum) by jd422 on 07-17-2018
  • 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...
    Posted to General (Forum) by hayer89 on 01-09-2014
  • 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...
    Posted to Code (Forum) by VitaKri on 07-13-2011
  • 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...
    Posted to Code (Forum) by Sara Campo on 05-26-2010
  • 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...
    Posted to Code (Forum) by martinpalmer on 05-05-2010
  • 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...
    Posted to Code (Forum) by kelsawy2000 on 11-10-2009
  • 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...
    Posted to Code (Forum) by Passthepuck on 04-06-2009
  • 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...
    Posted to Code (Forum) by christian_bahnsen on 04-05-2009
  • 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...
    Posted to Newbie Questions (Forum) by savita on 01-15-2009
  • 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...
    Posted to Code (Forum) by PhDUltra on 12-11-2008
Page 1 of 1 (10 items)
Copyright © 2003-2019 Qdabra Software. All rights reserved.
View our Terms of Use.