Filter on a drop down list in a repeating section - InfoPath Dev
in

InfoPath Dev

Filter on a drop down list in a repeating section

Last post 03-31-2011 05:51 AM by mnewman. 2 replies.
Page 1 of 1 (3 items)
Sort Posts: Previous Next
  • 03-30-2011 08:45 AM

    Filter on a drop down list in a repeating section

    Using Infopath 2007

     I have a repeating section with a drop down list created from a sql server table.

     The table is in the form below.

    dept_id    dept_name
    1              IT
    2              Maintenance
    3              Security

     

    The form is populated by dept_id and displays dept_name.

     I would like that when a second section is chosen the drop down will not display the choice from the first drop down list box.

     

    Any help is greatly appreciated

     

    Mark

  • 03-30-2011 10:20 PM In reply to

    Re: Filter on a drop down list in a repeating section

    Just add a filter to the data set. Go into the dropdown listbox properties and select the display name to show and there should be a filter button there that allows you to filter.

    Patrick Halstead
    Project Manager at Qdabra
  • 03-31-2011 05:51 AM In reply to

    Re: Filter on a drop down list in a repeating section

    Many thanks for the response Patrick.

     I am still unclear what I need to filter on.

     

    The problem still exists as is illustrated in the screenshot below. In this example, when a second section is selected, IT should not be visible.

    To clarify, this filter should be applied to the drop down listbox properties and not the repeating section properties?

     

    The only place that I can see to filter on this is the button to the right of the entries input box.

     

    The full string in entries is /dfs:myFields/dfs:dataFields/d:dept_list[@dept_name]

     

    What would be the appropriate filter to apply in this case?

     

    I am new to Infopath so please forgive me if I am missing something very obvious.

     

    Mark

     



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