Search - InfoPath Dev

InfoPath Dev

Search

Page 227 of 259 (2583 items) « First ... < Previous 225 226 227 228 229 Next > ... Last »
  • Re: Adding Nodes

    Ok, fair enough.&nbsp; Please try the following code: Set firstOrderNode = XDocument.DOM.selectSingleNode(&quot;/my:myFields/my:Order&quot;) Set newNode = XDocument.DOM.createNode(&quot;element&quot;, &quot;my:UID&quot;, &quot;http://schemas.microsoft.com/office/infopath/2003/myXSD/2009-03-30T14:13:12&quot;) Set nextNode = ...
    Posted to Code (Forum) by Jimmy on 03-30-2009
  • Re: Adding Nodes

    The ExecuteAction approach to adding nodes does not work for repeating sections that are inside other repeating sections and I&#39;m assuming my:Order is repeating and that&#39;s why you&#39;re getting the unspecified error. I also think you are correct in surmising that InfoPath is trying to insert my:UID after my:Info and that is why you are ...
    Posted to Code (Forum) by Jimmy on 03-30-2009
  • Re: New To InfoPath.. Error While Opening in .xml file

    To clarify, the XML file contains only the form&#39;s data, not the form itself.&nbsp; For users to be able to open the form in InfoPath, the template (XSN file) has to be in a place (e.g. on a web server, file share, etc.) where all of the form&#39;s users can access it.
    Posted to Newbie Questions (Forum) by Jimmy on 03-30-2009
  • Re: in rule, set value if not blank, not working?

    No, the default value only has an effect when the field is created (e.g. in a new form or when the field is part of a new row in a repeating section). If you uncheck &quot;Update this value when the result of the formula is recalculated,&quot; it should be fine.
    Posted to Newbie Questions (Forum) by Jimmy on 03-27-2009
  • Re: in rule, set value if not blank, not working?

    Or you could specify userName() as the default value for the field. Fields&#39; rules only execute when the value changes.
    Posted to Newbie Questions (Forum) by Jimmy on 03-27-2009
  • Re: Add event to Check Box in InfoPath Form

    The title and first sentence of your post really have almost nothing to do with your actual question, and it doesn&#39;t really make sense to me to use a checkbox instead of a button&nbsp;for this purpose.&nbsp; Having a checkbox that says &quot;No Show&quot; and deleting the entire group instead of hiding it is misleading. &nbsp;Nonetheless, if ...
    Posted to Code (Forum) by Jimmy on 03-27-2009
  • Re: Iterate through repeating table with complex SQL query

    For the duplicated first line issue, this line is the problem: XPathNodeIterator children = parent.Select(&quot;/d:ApplicationAccess&quot;, this.NamespaceManager); Please try changing it to XPathNodeIterator children = parent.Select(&quot;d:ApplicationAccess&quot;, this.NamespaceManager); (forward slash removed) or XPathNodeIterator ...
    Posted to Code (Forum) by Jimmy on 03-25-2009
  • Re: Iterate through repeating table with complex SQL query

    Yup.&nbsp; One other option would be to leave the first line Hilary mentioned the way you already have it and change the second line to this: newNode.SelectSingleNode(&quot;@Applications&quot;, this.NamespaceManager).SetValue(auxDomNode.Value);
    Posted to Code (Forum) by Jimmy on 03-25-2009
  • Re: Conditional Expression Question

    I think you want something more like: not(my:BrandManager = /my:myFields/my:Misc/my:Current_User) or perhaps not(../my:BrandManager = /my:myFields/my:Misc/my:Current_User) If you want to actually hide the radio button as opposed to disabling it, you can place it inside a small Section control bound to the same node as the radio button or ...
    Posted to General (Forum) by Jimmy on 03-25-2009
  • Re: Iterate through repeating table with complex SQL query

    Sounds like you&#39;re using an absolute XPath expression in one of your SelectSingleNode statements, or something along those lines.&nbsp; Could you post the latest version of your code so we can have a look?
    Posted to Code (Forum) by Jimmy on 03-25-2009
Page 227 of 259 (2583 items) « First ... < Previous 225 226 227 228 229 Next > ... Last »
Copyright © 2003-2019 Qdabra Software. All rights reserved.
View our Terms of Use.