Filter dropdown list based on SQL and SP?? - InfoPath Dev
in

InfoPath Dev

Filter dropdown list based on SQL and SP??

Last post 08-07-2009 08:52 AM by Mel Clemente. 1 replies.
Page 1 of 1 (2 items)
Sort Posts: Previous Next
  • 07-21-2009 05:39 AM

    • Midianman
    • Not Ranked
    • Joined on 03-09-2009
    • Elkton, MD
    • Posts 5

    Filter dropdown list based on SQL and SP??

    I have a dropdown that is populated from a (READ ONLY) view in a SQL database, but I also need to exclude items based on a sharepoint list. 

    Items in the dropdown are selected and are used to create an approval form, once selected and submitted the approval form is started.  Items that have been selected and an approval form started should no longer be displayed in the dropdown, so I need the dropdown to display only items based on the SQL view that are not in the SP list.  

    I do not have access to write anything to SQL. 

     

     

     

    Jester of all trades, serious in none.
  • 08-07-2009 08:52 AM In reply to

    Re: Filter dropdown list based on SQL and SP??

    Hi Midianman,

    This blog post might be of help: http://www.infopathdev.com/blogs/mel_balsamo/archive/2009/02/04/comparing-items-in-a-list-against-an-updated-data-source.aspx. Although the technique discussed there does not totally remove the values that are not in the SharePoint list, you can use some data validation to compare your dropdown values against the items in your SharePoint list. This is assuming that everytime your workflow (approval form) starts, it removes the selected dropdown value in your SharePoint list.

    Cheers!

    Mel Clemente
    Qdabra® Software/ InfoPathDev.com
    The InfoPath Experts – Streamline data gathering to turn process into knowledge.™

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