Browse by Tags - InfoPath Dev
in

InfoPath Dev

Use our Google Custom Search for best site search results.

Browse by Tags

  • 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
  • Printing the INFOPATH Form 2003 using VB Script

    I am trying to create a PDF file using the printer macro, I am getting error expected statement. Code attached below. Sub Print_OnClick() ' Write your code here Dim fileName1 Dim nameNode1 'Set the values. Replace "/my:myFields/my:textField" with the xpath to the field that has the...
    Posted to Code (Forum) by smate on 05-08-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
  • Loop through repeating table

    I have what I think should be a rather simple problem, but to a complete n00b like me, it's daunting at best. The basic scenario is this: I have a database set up for new employees of our company. Upon hire, our HR department will fill out a form (only the top portion) with employee information ...
    Posted to Newbie Questions (Forum) by cjg1979 on 10-15-2008
  • Expected end of statement

    I am getting the following error. Does anyone know how to fix it? Expected end of statement File:script.vbs Line:102 Dim Domain As String = thisXDocument.DOM.selectSingleNode("/xmlns:myFields/my:Domain") The rest of the code looks like this... Sub CTRL22_5_OnClick(eventObj) Dim Domain As String...
    Posted to Code (Forum) by m181354 on 12-04-2007
Page 1 of 1 (5 items)
Copyright © 2003-2019 Qdabra Software. All rights reserved.
View our Terms of Use.