[InfoPath] Filter data in a Field Listing Suspended in a repeating table - InfoPath Dev
in

InfoPath Dev

[InfoPath] Filter data in a Field Listing Suspended in a repeating table

Last post 09-20-2013 12:12 PM by Hilary Stoupa. 11 replies.
Page 1 of 1 (12 items)
Sort Posts: Previous Next
  • 08-27-2013 06:27 AM

    • dexter
    • Not Ranked
    • Joined on 08-27-2013
    • Posts 9

    [InfoPath] Filter data in a Field Listing Suspended in a repeating table

    Good morning, I am using the tool InfoPath 2013 and would like to know how to make a data filter through a drop-down list in a repeating table. My list consists of two columns (Name and Code). Where Sera consulted data. In My Form I Have A Repeating Table Containing two fields (Code and Name). The field code and field drop-down to it automatically selects the Other field Repeating table will be, filled with the nome associated to Code. I appreciate if you do not use code development, I am not very familiar with the tool yet, i is still only know how to use XPath inside the InfoPath. Thank you!
  • 08-27-2013 10:19 AM In reply to

    • dexter
    • Not Ranked
    • Joined on 08-27-2013
    • Posts 9

    Re: [InfoPath] Filter data in a Field Listing Suspended in a repeating table

    Exemple
  • 09-01-2013 03:18 PM In reply to

    Re: [InfoPath] Filter data in a Field Listing Suspended in a repeating table

    Use the current() function. Search for "cascading" download samples area. We have many samples for you there.

    Patrick Halstead
    Project Manager at Qdabra
  • 09-02-2013 11:04 AM In reply to

    • dexter
    • Not Ranked
    • Joined on 08-27-2013
    • Posts 9

    Re: [InfoPath] Filter data in a Field Listing Suspended in a repeating table

    Could you send me a link of examples?
  • 09-02-2013 04:04 PM In reply to

    Re: [InfoPath] Filter data in a Field Listing Suspended in a repeating table

  • 09-03-2013 05:51 AM In reply to

    • dexter
    • Not Ranked
    • Joined on 08-27-2013
    • Posts 9

    Re: [InfoPath] Filter data in a Field Listing Suspended in a repeating table

    Thank you! But unfortunately still unable to resolve. D: It's a mistake in my field of sharepoint list. Look how I get my code: current()/xdXDocument:GetDOM("Lista de Materiais - Teste")/dfs:myFields/dfs:dataFields/d:SharePointListItem_RW/d:Campo1[../d:Campo10 = xdXDocument:get-DOM()/my:meusCampos/my:Grupo_Repeticao/my:Sub_Repeticao/my:Descrição_Item] Sorry to be bothering you so much, but beyond that I am new in this area, I am in great need of this solution):
  • 09-03-2013 05:52 AM In reply to

    • dexter
    • Not Ranked
    • Joined on 08-27-2013
    • Posts 9

    Re: [InfoPath] Filter data in a Field Listing Suspended in a repeating table

    the error is reported shortly --> xdXDocument: GetDOM
  • 09-03-2013 12:39 PM In reply to

    Re: [InfoPath] Filter data in a Field Listing Suspended in a repeating table

     It does not appear that current is being used correctly in the above XPath. Feel free to attach your form under the Options tab if you'd like me to set this up for you so you can see the correct XPath.

    Hilary Stoupa

  • 09-05-2013 12:22 PM In reply to

    • dexter
    • Not Ranked
    • Joined on 08-27-2013
    • Posts 9

    Re: [InfoPath] Filter data in a Field Listing Suspended in a repeating table

    is that my dropdown box is connected to a list. When I do a search list it generates this XPath. But my complete code is as follows: xdXDocument:GetDOM("Lista de Materiais")/dfs:myFields/dfs:dataFields/d:SharePointListItem_RW/d:zhjs[../d:Title = xdXDocument:get-DOM()/my:meusCampos/my:Grupo_Repeticao/my:Sub_Repeticao/my:Descrição_Item] fx in common is as follows: zhjs[Title = Descrição_Item] Thank '
  • 09-06-2013 06:18 AM In reply to

    • dexter
    • Not Ranked
    • Joined on 08-27-2013
    • Posts 9

    Re: [InfoPath] Filter data in a Field Listing Suspended in a repeating table

    I'll be posting an attached notepad stating my problem more explanatory and my infopath 2013 form
  • 09-19-2013 11:42 AM In reply to

    • dexter
    • Not Ranked
    • Joined on 08-27-2013
    • Posts 9

    Re: [InfoPath] Filter data in a Field Listing Suspended in a repeating table

    up
  • 09-20-2013 12:12 PM In reply to

    Re: [InfoPath] Filter data in a Field Listing Suspended in a repeating table

     So - looking at the UN field in Sub_Repeticao, I see a default that has this for the filter:

    ../d:g9lx = xdXDocument:get-DOM()/my:meusCampos/my:Grupo_Repeticao/my:Sub_Repeticao/my:Descrição_Item

     In the filter conditions, change the first drop down to "The expression" and replace xdXDocument:get-DOM()/my:meusCampos/my:Grupo_Repeticao/my:Sub_Repeticao with current()/../

    The full XPath in the default should look like:

    xdXDocument:GetDOM("Lista de Materiais")/dfs:myFields/dfs:dataFields/d:SharePointListItem_RW/d:zhjs[../d:g9lx = current()/../my:Descrição_Item]

     

    Hilary Stoupa

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