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 1 of 4 (31 items) 1 2 3 4 Next > Assign Value from a SQL query to an InfoPath Field Hello, I've got an InfoPath form that connects and runs a Store Procedure on my SQL Database. The Value returned is a string which i'm then wanting to put into a field on my InfoPath datasource. My Connection snippet is: using (SqlCommand command ... Posted to SQL Database Integration (Forum) by Irianna on 04-22-2010 Retreive data from SQL and put into XML secondary data source Hi Folks, I'm trying to pull data out of my SQL database into a secondary datasource which is XML. Unfortunatly, I'm getting this error: System.InvalidOperationException was unhandled by user code Message="Token StartElement in state EndRootElement would result in an invalid XML document. Make sure that the ConformanceLevel ... Posted to SQL Database Integration (Forum) by Irianna on 04-19-2010 Re: Any way to recover / edit code from form? Thats great, thanks I'll go look for one :) Posted to Code (Forum) by Irianna on 03-16-2010 Any way to recover / edit code from form? Hi, I've just been asked to go back and edit a form I created with some code in, and a while back I lost my project files. Does anyone know a way to get the code from the XSN if I dont have the project files? Thanks, Irianna. Posted to Code (Forum) by Irianna on 03-16-2010 Re: Open New Form On Submission Do you happen to have this for InfoPath 2003 C# ? Cheers[quote user="Hilary Stoupa"] Are you using InfoPath 2003 or 2007? For 2007, it is like: XmlForm newDocument = this.Application.XmlForms.NewFromFormTemplate(@"C:\MyForm.xsn"); code snippet copied from MSDN documentation located here.[/quote] Posted to Code (Forum) by Irianna on 02-15-2010 Re: Save form locally Thanks, I've managed to get it to work now with the code XmlDocument oDOM = new XmlDocument(); Microsoft.Office.Interop.InfoPath.SemiTrust.IXMLDOMDocument oWrappedDOM = thisXDocument.DOM;oDOM.PreserveWhitespace = true; oDOM.LoadXml(oWrappedDOM.xml); oDOM.Save("C:\\Submit\\Form_" + ... Posted to Code (Forum) by Irianna on 02-15-2010 Re: Save form locally Ye thats what I want, just not sure how :( Posted to Code (Forum) by Irianna on 02-12-2010 Save form locally Hi Folks, I'm in need of a littlehelp. I've got a form that submits to a SQL Database, its working perfectly fine - however, I need to get the form to work on handheld devices that are not connected to the network. What i'd like, is a custom button on the last view that saves the for to the C:\ as a .xml file so that when they ... Posted to Code (Forum) by Irianna on 02-12-2010 Open full screen Hi, Does anyone know a way to get an infopath form to open full screen, so that it opens hiding the tool bar and the start menu etc? (a bit like when you press F11 in IE) Thanks, Iri Posted to General (Forum) by Irianna on 12-23-2009 Re: Save offline then submit to SharePoint? Thanks alot thats worked a treat, Now there is a problem with Digital Sigs and Trusted forms as it wants to edit files on the local PC Posted to General (Forum) by Irianna on 12-22-2009 Page 1 of 4 (31 items) 1 2 3 4 Next > Copyright © 2003-2019 Qdabra Software. All rights reserved.View our Terms of Use.