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 7 of 9 (86 items) « First ... < Previous 5 6 7 8 9 Next > Re: Repeating Section I made the suggested changes. //Get a reference to the attachment node.DOMNodeList n = thisXDocument.DOM.selectNodes("/my:myFields/my:group1/my:group2/my:field1"); //Get the text of the node.String field1 = n.text; foreach (IXMLDOMNode node in n)if (node.Length > 0) {InfoPathAttachmentEncoding.InfoPathAttachmentDecoder ... Posted to Code (Forum) by Lawson on 02-25-2010 Re: Repeating Section I tried you the foreach loop with the following code: IXMLDOMNode n = thisXDocument.DOM.selectNodes("/my:myFields/my:group1/my:group2/my:field1"); //Get the text of the node.String field1 = n.text; foreach (IXMLDOMNode selectnodes in selectnodes)if (field1.Length > 0) {InfoPathAttachmentEncoding.InfoPathAttachmentDecoder ... Posted to Code (Forum) by Lawson on 02-25-2010 Re: Repeating Section Can you give me an example that points me in the right direction on how to do this? Posted to Code (Forum) by Lawson on 02-25-2010 Repeating Section I have an IP form with an attachment control within a repeating section and a save button outside of the repeating section. When an attachment is added, the save button can be use to save the attachment to a predefined path. However, when the repeating section is used, the save button only saves the first attachment and none of the attachments ... Posted to Code (Forum) by Lawson on 02-25-2010 .csv files I have created an InfoPath form with the C# encoder and decoder found at the following website. http://support.microsoft.com/kb/892730 I need to create a button that creates a .csv file with the information entered into text boxes on the form. I need to potentially create many csv files for each form. For example, if an attachment ... Posted to Code (Forum) by Lawson on 02-17-2010 Re: Adding another attachment field Ha, thanks, he's my sidekick :) Posted to Code (Forum) by Lawson on 02-10-2010 Re: Adding another attachment field Hilary,Once again, you're AWESOME!I made the necessary changes, and the problem has been solved.Thanks for all of your help.-Lawson Posted to Code (Forum) by Lawson on 02-10-2010 Adding another attachment field I have an InfoPath 2007 form that uses the Microsoft example Encoder and Decoder found at the following website. http://support.microsoft.com/kb/892730 I would like to add one more attachment field to the save button, so when the save button is clicked, the contents of both attachment fields are saved to the specified folder. The ... Posted to Code (Forum) by Lawson on 02-10-2010 Re: Attachment Encoder and Decoder Thanks for all your help man. I'm gonna call it a night. I'll probably just create a new post tomorrow with this new problem as the subject. -Lawson Posted to Code (Forum) by Lawson on 02-09-2010 Re: Attachment Encoder and Decoder Yeah, I caught that mistake right after I sent the last post. I made the appropriate changes, but I still get the previously mentioned problem when I click the save button. I checked for a capitalization mistake throughout the code, but I didn't find a mistake. Do you know why the debugger suggests using the keyword "new"? Posted to Code (Forum) by Lawson on 02-09-2010 Page 7 of 9 (86 items) « First ... < Previous 5 6 7 8 9 Next > Copyright © 2003-2019 Qdabra Software. All rights reserved.View our Terms of Use.