Search - InfoPath Dev Sign in | Join | Help InfoPath Dev InfoPath Dev is dedicated to bringing you the information and tools you need to be successful in your Microsoft Office InfoPath development projects. Home Blogs Forums Photos Downloads Search More Search Options Page 4 of 4 (37 items) < Previous 1 2 3 4 Re: How to access a secondary data source xml file Doesnt matter what is written here, IXMLDOMNode worker = obj.DOM.selectSingleNode(''/my:myFields/my:workers/my:worker[my:id=1]/my:name''); or IXMLDOMNode worker = obj.DOM.selectSingleNode(''/my:myFields/my:workers/my:worker/my:name''); i cant make this work. I want to get name with id from my primary source,from textbox on my form.But now i just ... Posted to Code (Forum) by mar on 12-14-2005 Re: How to access a secondary data source xml file Ok, solved it(thanks forhttp://infopathdev.com/forums/topic.asp?TOPIC_ID=88). But now,i cant get any data.My code looks like that: ----------------------------------------------------------- DataObject obj = thisXDocument.DataObjects[''workers.xml'']; IXMLDOMDocument3 domXML = (IXMLDOMDocument3) ... Posted to Code (Forum) by mar on 12-14-2005 How to access a secondary data source xml file I have secondary data source ''workers.xml''.And i have a textbox field1 on my form. Now, i want to use a field1 value to get from workers.xml a person with id=field1 value.How can i do that in c#? Posted to Code (Forum) by mar on 12-14-2005 Re: listBox and its values in repeating table fields Ive solved it.Just simple mistake in building my form. Posted to Code (Forum) by mar on 12-14-2005 listBox and its values in repeating table fields Hello, i have a listbox(with values, for ex.{1,2,3,4}). By this code im adding a new row in my table: --------- IXMLDOMNode row = thisXDocument.DOM.selectSingleNode(something); IXMLDOMNode lb = thisXDocument.DOM.selectSingleNode(mylistbox); row=row.cloneNode(true); row.selectSingleNode(''my:field'').text=lb.text; IXMLDOMNode ... Posted to Code (Forum) by mar on 12-13-2005 Re: Code before rules Simply and beautyfull :) works great :) thanks Posted to Code (Forum) by mar on 09-04-2005 Code before rules hello,is there a way to run managed code before any rules?(tools, form options, open and save, rules button-i want my code before this rules...).I have my code in OnLoad event but still it is too late... Posted to Code (Forum) by mar on 09-04-2005 Page 4 of 4 (37 items) < Previous 1 2 3 4 Copyright © 2003-2019 Qdabra Software. All rights reserved.View our Terms of Use.