Search - InfoPath Dev

InfoPath Dev

Search

Page 1 of 1 (4 items)
  • Re: Insert a New Row into a Repeating Table

    Go to your main datasource in your task pane. Then go to the item in the repeating table. Click on the arrow beside it and select copy Xpath. That will give you the correct xpath.
    Posted to Code (Forum) by Koen Vosters on 06-04-2008
  • Re: How can I get and set properties from objects in form on InfoPath 2007?

    These are the basics to put a value in a field  XPathNavigator xn = this.MainDataSource.CreateNavigator();XPathNavigator xnfield1 = xn.SelectSingleNode("/my:myFields/my:field1", this.NamespaceManager); xnfield1.SetValue("test");   I do suggest you read a book first though.
    Posted to Code (Forum) by Koen Vosters on 06-03-2008
  • Re: Setting the value of a formatted text field in C#

    You need to remove the Nil attribute:public void DeleteNil(XPathNavigator node){if (node.MoveToAttribute("nil", "http://www.w3.org/2001/XMLSchema-instance"))      node.DeleteSelf(); } DeleteNil(this.CreateNavigator().SelectSingleNode("/my:myFields/my:txtField", ...
    Posted to Code (Forum) by Koen Vosters on 06-03-2008
  • Adding controls programatically

    Hi, atm I'm working on a solution to show a consolidated view of several source InfoPath forms that contain data. To achieve this I'm using the forms library as a datasource, so that I can get a list of all the source InfoPath forms that I want to put together. I am displaying these InfoPath forms in a repeating section, ...
    Posted to Code (Forum) by Koen Vosters on 06-03-2008
Page 1 of 1 (4 items)
Copyright © 2003-2019 Qdabra Software. All rights reserved.
View our Terms of Use.