Fileds in repeating Table - InfoPath Dev
in

InfoPath Dev

Fileds in repeating Table

Last post 01-28-2010 03:46 PM by Hilary Stoupa. 4 replies.
Page 1 of 1 (5 items)
Sort Posts: Previous Next
  • 01-21-2010 02:30 AM

    Fileds in repeating Table

    Hi every one, I am so happy I found this Forum; I found all the materials in it so helpful,Please check my Case, and help me with your Bright Ideas In a repeating table, we have created a drop down field  "Name" that get employees Name from a database,And we created a filed "position", and we insert a formula to get the position of the employee name mentioned in "Name"when we preview the form, and for example, we want to insert a new row in a repeating table, the filed " position always get the Position of the Filed "Name" in the First RowPlease advise how we can solve such a problem

     

  • 01-21-2010 02:13 PM In reply to

    Re: Fileds in repeating Table

    Hi Nadine,

    You might find the answer to your problem in this thread.

    Jett

    using Microsoft.Office.InfoPath;
  • 01-22-2010 09:21 AM In reply to

    Re: Fileds in repeating Table

    Sorry, I got confused and didn't quite get your concern correctly the first time around. Your problem can be solved by replacing absolute XPath with relative XPath.

    instead of this:

    MainDataSource.CreateNavigator().SelectSingleNode("/my:myFields/my:field1",NamespaceManager);

    use this:

    e.Source.SelectSingleNode("my:field1",NamespaceManager);

    using Microsoft.Office.InfoPath;
  • 01-28-2010 02:31 PM In reply to

    Re: Fileds in repeating Table

     Sorry to sound like a noob, but how exactly does one go about changing the xpath as you describe?

  • 01-28-2010 03:46 PM In reply to

    Re: Fileds in repeating Table

    What does your formula look like?

    You can find a sample here.

    Hilary Stoupa

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