Filter drop-down list using SharePoint list data - InfoPath Dev
in

InfoPath Dev

Filter drop-down list using SharePoint list data

Last post 05-29-2012 12:22 PM by KevinP. 1 replies.
Page 1 of 1 (2 items)
Sort Posts: Previous Next
  • 05-29-2012 08:49 AM

    • KevinP
    • Not Ranked
    • Joined on 05-29-2012
    • Posts 3

    Filter drop-down list using SharePoint list data

    I am building an InfoPath 2007 form template for a purchase requisition form that will be filled out using the InfoPath client (not web-based).

    I have an "Account Number" drop-down list in which I have created an external lookup to a SharePoint 2007 list.  Here's my dilemma:

    The drop-down list is a list of account numbers, but I want to filter the displayed choices based on information from both A) the SharePoint list and from B) another drop-down field on the same form. 

    A)  The SharePoint list is a list of the account numbers and several Yes/No (check box) columns named for departments.  In this list, the check boxes are marked for each Department that is allowed to charge to the correlating account number.

    B)  The other drop-down field on the form is to select a Department.  These Departments are named exactly the same as the Yes/No columns in the SharePoint list.

    My question - is there a codeless way to filter the lookup values on the "Account Number" drop-down by matching the selected department (from the Department filed) with those Departments on the SharePoint list with the check box selected for the corresponding account number?

  • 05-29-2012 12:22 PM In reply to

    • KevinP
    • Not Ranked
    • Joined on 05-29-2012
    • Posts 3

    Re: Filter drop-down list using SharePoint list data

    Well, I did come up with a workaround.  I just made 10 copies of my Account Number drop-down (for 10 Departments), and ran each through the SP list for its respective Department.  I hid all copies except for the one for the selected Department.  Was there a better way to do this?

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