Appending text to RichTextField using .Net - InfoPath Dev
in

InfoPath Dev

Use our Google Custom Search for best site search results.

Appending text to RichTextField using .Net

Last post 11-13-2012 12:06 PM by Ghoztrider. 1 replies.
Page 1 of 1 (2 items)
Sort Posts: Previous Next
  • 11-13-2012 07:00 AM

    Appending text to RichTextField using .Net

     Hi,

    I want to continually add new text to a rich text field upon button presses in InfoPath 2007 using code. I know how to set  a fields value using this line of code:

     

    Dim nav As XPathNavigator = MainDataSource.CreateNavigator()

    nav.SelectSingleNode("//my:field1", NamespaceManager).SetValue("myValue")

     I'm just not sure how to incorporate it into this. My intention is to create an edit history of the button presses in my form. If anyone has any material on a better way to do this or or keep track of changes throughout the whole form I would take that into consideration as well. Thank you.

  • 11-13-2012 12:06 PM In reply to

    Re: Line feed in textbox - Vb.net

     I figured this out and got it to work with one exception.....the carriage return. Any ideas? Thanks.

    I tried following this walk through...Didn't work  :(

    http://www.infopathdev.com/forums/p/13489/47827.aspx#47827

Page 1 of 1 (2 items)
Copyright © 2003-2019 Qdabra Software. All rights reserved.
View our Terms of Use.