Search - InfoPath Dev

InfoPath Dev

Search

Page 253 of 259 (2583 items) « First ... < Previous 251 252 253 254 255 Next > ... Last »
  • Re: repeating table add rows programaticly

    Have you tried: CurrentView.ExecuteAction(ActionType.XCollectionInsert, &quot;XmlToEdit&quot;); where XmlToEdit is a unique identifier for the repeating table that you can find in the InfoPath designer?&nbsp; This mimics the behavior that InfoPath carries out when a user adds a row to a repeating table/section and takes all the guesswork out ...
    Posted to Newbie Questions (Forum) by Jimmy on 11-10-2008
  • Re: Cascading DropDowns and Multiple Datasources

    That&#39;s correct.&nbsp; You cannot directly access an InfoPath form&#39;s controls via code.&nbsp; You can only modify the nodes to which they are bound, and you cannot change the binding at runtime either. &nbsp;The only alternative if you want to&nbsp;have complete control over a&nbsp;dropdown&#39;s contents is to bind it to an intermediary ...
    Posted to Newbie Questions (Forum) by Jimmy on 11-10-2008
  • Re: Active directory attributes for Manager

    Qdabra&#39;s AD Web Service will allow you to retrieve the alias of any user&#39;s manager, which you can then use to retrieve the manager&#39;s e-mail address. The web service also provides several other useful features and I recommend checking it out if you do a lot of work involving active directory.
    Posted to General (Forum) by Jimmy on 11-08-2008
  • Re: Infopath: Restricting alphanumeric values in a text field

    You can check whether the number is a valid number and if it&#39;s not, skip the calculation and show the user an error. It would be easier to give you a more specific answer if you would show us the part of your code that is causing the error.
    Posted to Newbie Questions (Forum) by Jimmy on 11-08-2008
  • Re: VB Script accessing Secondary Data XML Sources

    Hey Jeff, &nbsp;The most likely cause of that error is that for whatever reason, the XPath in the line that starts with Set MatchingXMLField = is not finding any node.&nbsp; Please take a careful look at that line and make sure everything is sound, and that you didn&#39;t forget the single quotes. One thing you can do to begin troubleshooting ...
    Posted to General (Forum) by Jimmy on 11-07-2008
  • Re: VB Script accessing Secondary Data XML Sources

    I&#39;m not too experienced with VBScript and there might be a better way, but something like the following should work: Dim Field1Value Dim Field2Value Dim SecondaryDataSource Dim MatchingXMLField Dim DestinationField Field1Value = XDocument.DOM.selectSingleNode(&quot;/my:myFields/my:InfoPathField1&quot;).text Field2Value = ...
    Posted to General (Forum) by Jimmy on 11-06-2008
  • Re: Getting Error when Trying to Open Form Programmatically

    this.Application.XmlForms.Open(filename) also works for me without adding any using statements. Application.Xdocuments doesn&#39;t exist in forms with the 2007 object model.
    Posted to Code (Forum) by Jimmy on 11-06-2008
  • Re: coutdown field

    Yes, it should, as this is VBScript.
    Posted to General (Forum) by Jimmy on 11-06-2008
  • Re: Spellnumber in InfoPath

    Hello Ben, &nbsp;Sorry for taking so long to reply.&nbsp; I had not realized that IP2003 doesn&#39;t come with VSTA but that indeed seems to be the case. This task should be entirely possible in either scripting language, but as I&#39;m a bit weak in JScript and know almost no VBScript I can&#39;t convert the code right off the top of my ...
    Posted to General (Forum) by Jimmy on 11-06-2008
  • Re: Filling combo box items manually in a repeating grid

    I&#39;m not 100% sure that the following would work on a browser-enabled form, but I have tried it on a regular form, and it works. Create a dummy XML file to use as a data source for the second dropdown box; something like: &lt;?xml version=&quot;1.0&quot;&gt; &lt;dropdownEntries&gt; &nbsp;&nbsp;&nbsp; &lt;entry value=&quot;&quot; ...
    Posted to Code (Forum) by Jimmy on 11-06-2008
Page 253 of 259 (2583 items) « First ... < Previous 251 252 253 254 255 Next > ... Last »
Copyright © 2003-2019 Qdabra Software. All rights reserved.
View our Terms of Use.