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 3 of 4 (37 items) < Previous 1 2 3 4 Next > Re: repeating table with optional section-adding rows And if i have structure like this: myFields->group1->group2->group3->table and im getting an error like this: System.Runtime.InteropServices.COMException Element 'http://schemas.microsoft.com/office/infopath/2003/myXSD/2005-06-07T16:41:35}table' is unexpected according to content model of parent element ... Posted to Code (Forum) by mar on 12-29-2005 Re: repeating table with optional section-adding rows -table --field1 --field2 --section ---field3 Posted to Code (Forum) by mar on 12-28-2005 Re: repeating table with optional section-adding rows Hello Patrick, Optional section is below the row group in the data source, this looks like this: -table -field1 -field2 -section -field3 When i use 'row.selectsinglenode(''my:section'');' he accept it, and error is in the next line, when im trying to add field3 :( Posted to Code (Forum) by mar on 12-28-2005 repeating table with optional section-adding rows I have a repeating table with 'field1' and 'field2', and in this table i have optional section 'section' with 'field3'.When i'm using: row.selectsinglenode(''my:field1''); row.selectsinglenode(''my:field2''); table.appendchild(row); Everything is ok, but when i try to add [...] row.selectsinglenode(''my:field3''); or ... Posted to Code (Forum) by mar on 12-28-2005 Re: How to check IXMLDOMNode for null value Ok, i've got it. Node!=null, not node.text!=null or node.nodevalue!=null.... Stupid mistake... Posted to Code (Forum) by mar on 12-28-2005 How to check IXMLDOMNode for null value Im trying to check, if in my repeating table is a x value. IXMLDOMNode spr=thisXDocument.DOM.selectSingleNode(''/my:f1/my:f2/my:table[my:workerid='''+x.nodeValue+''']''); but i get an error if i try 'spr.text' or 'spr.nodevalue'. So, any spr.text/nodevalue==null is wrong. Posted to Code (Forum) by mar on 12-27-2005 CAS and fully trust form Let's say, that i'm working on a form(which is installed in sharepoint document library) with getting Environment.username and userdomainname(visual studio and c#). There is a cas problem with userdomainname (with only username there is no problem). I've read about fully trusted forms, and i assume, that the only way to make a form fully trusted ... Posted to Code (Forum) by mar on 12-22-2005 Re: How to access a secondary data source xml file goo,well...ok ;) I solved my problem, i had to use /ns3:..../ns3:..... instead of /my:....,for my secondary data source. I dont know why, but it works now. Posted to Code (Forum) by mar on 12-16-2005 Re: How to access a secondary data source xml file Forgive me, but..whats 'goo'?:) Posted to Code (Forum) by mar on 12-15-2005 Re: How to access a secondary data source xml file Maby there is another way of getting a data from secondary data source file?im really frustrated... Posted to Code (Forum) by mar on 12-14-2005 Page 3 of 4 (37 items) < Previous 1 2 3 4 Next > Copyright © 2003-2019 Qdabra Software. All rights reserved.View our Terms of Use.