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 2 of 2 (17 items) < Previous 1 2 Data View lost on form republish Hi all, I have an issue with some of my infopath forms published to WSS. I'll give you some info on what I have set up. I have an Infopath 2007 form published to a Form Library. I have then created several Data Views in Sharepoint Designer which display filtered views of this form library. The problem occurs when I make a change to the ... Posted to SharePoint Integration (Forum) by greenant on 05-21-2009 SharePoint ID field into InfoPath form Hi guys, I am looking for a way to get the SharePoint ID field to show in a text box in the Infopath form. In pseudo-code, I am thinking along the lines of: Submit Button clicked. Has ID already been assigned? YES - Save form normally NO - Submit ... Posted to SharePoint Integration (Forum) by greenant on 05-21-2009 Re: Line break Hi again, I got it to work finally. I can't remember exactly where I found this solution, but it works, so i'm happy ... for now ;) Dim ns As XmlNamespaceManager = Me.NamespaceManager Dim textfield As XPathNavigator = MainDataSource.CreateNavigator().SelectSingleNode("/my:My_Fields/my:RichTextField", ... Posted to General (Forum) by greenant on 04-29-2009 Re: Change Default Value of Text Box Actually, all you really need is: Dim field1 As String = "text" Dim xNav As XPathNavigator = Me.CreateNavigator() Dim ns As XmlNamespaceManager = Me.NamespaceManager xNav.SelectSingleNode("/my:MyFields/my:Text_Field", ns).SetValue(field1) The other stuff was related to my project. Posted to Code (Forum) by greenant on 04-27-2009 Re: Change Default Value of Text Box Thanks for the reply. I have sorted the problem out ... kind of. I was too busy looking outside the square to solve my problem, when really it was much simpler. All I had to do was figure out the code to assign a value to the text field. It didn't need to be the default value at all. I was at one point hoping to achieve this without ... Posted to Code (Forum) by greenant on 04-27-2009 Re: Line break Hi, I am having the same issue. I am using Visual Studio Tools for Applications to edit code of an Infopath 2007 form. I use the following line to add the contents of a field to another and then add a line break to the end. field1 = field1 & field2 & System.Environment.NewLine The two fields are added together ... Posted to General (Forum) by greenant on 04-26-2009 Change Default Value of Text Box Hi there, I have an Infopath form, which uses VB code to perform several advanced functions. I can get most of what I want, but am stuck on changing the default value of 3 rich text boxes. The default value should change when I click a button on the form. The value to enter comes from a string variable which I have already set up. Any ideas ... Posted to Code (Forum) by greenant on 04-26-2009 Page 2 of 2 (17 items) < Previous 1 2 Copyright © 2003-2019 Qdabra Software. All rights reserved.View our Terms of Use.