Microsoft Certified Partner Soul Solutions
Oct 30

Written by: Soul Solutions
Monday, 30 October 2006

BronwenWeeGo.jpgTo add an attribute by code in Infopath:

 

 
            IXMLDOMNode expressionBox= _document.DOM.selectSingleNode("//someNode");
            IXMLDOMNode disableEditing;
            node2 = _document.DOM.createAttribute("disableEditing");
            node2.text = "yes";
            addressNode.attributes.setNamedItem(node2);

Tags:

Your name:
Title:
Comment:
Security Code
Enter the code shown above in the box below
Add Comment    Cancel