Help with Current, have never been able to get it to work. - InfoPath Dev
in

InfoPath Dev

Help with Current, have never been able to get it to work.

Last post 05-01-2007 11:24 AM by erinselena. 1 replies.
Page 1 of 1 (2 items)
Sort Posts: Previous Next
  • 05-01-2007 07:50 AM

    Help with Current, have never been able to get it to work.

    Hello There,

     I think my scenario is in need of the Current() function but i try to avoid it because i can never get it to work. I have a combo box and it's display and value nodes are set to the name column in a secondary data source .. the xpath to that field is:   /dfs:myFields/dfs:dataFields/d:NavigationGroups/@Name 

    When the value of the combo box has been changed i need a field in my main datasource to fill with the ID field of the secondary data source (and no i can't change the value node of the combo box to be the id of the secondary data source, with what we are doing i need the value to be the name but i also need the id for later use)

    The xpath to the field i want to store my id in = /my:myFields/my:Survey/my:Inspection/my:InspectedAssets/my:InspectedAsset/my:ass_ID

     The xpath that the id field is in the secondary datasoure = /dfs:myFields/dfs:dataFields/d:NavigationGroups/@Id 

    I think there must be a way to set a rule with a filter on it to populate the field in the main data source but i can't seem to get it to work, i have had many hard times with the current() function and so i avoid it. If someone can help me out with any kind of advice that will work that would be great.

    Thanks,

    Erin 

  • 05-01-2007 11:24 AM In reply to

    Re: Help with Current, have never been able to get it to work.

    Thanks again to my Saviour S.Y.M. Wong A Ton I have gotten this to work... here is a link to an article that helped me out.

    http://enterprise-solutions.swits.net/infopath/shrinking-dropdown-list-repeating-table.htm

     

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