unique drop down list choices from share point list - InfoPath Dev
in

InfoPath Dev

unique drop down list choices from share point list

Last post 08-24-2011 08:50 PM by Grinch. 7 replies.
Page 1 of 1 (8 items)
Sort Posts: Previous Next
  • 04-27-2010 02:21 PM

    unique drop down list choices from share point list

    I'm using infopath 2003 with sharepoint 2007. 

    I have a form with a drop down list that uses a column from a sharepoint list as a data source. 

    The column has numerous duplicates but I'm trying to retrive a unique list. 

    I've been trying trying to stumble my way through trying to create a filter but haven't had much luck.

    Any help or suggestions would be great I haven't had much with the posts I've found so far.

     Thanks

  • 04-27-2010 10:25 PM In reply to

    Re: unique drop down list choices from share point list

    Can you look at this article? - http://www.bizsupportonline.net/infopath2003/shrinking-dropdown-list-repeating-table-infopath.htm - scroll down to the section (Populate the drop-down list box with unique values) where it explains about how to specify filter conditions.

    I hope it works for you with minor changes to the filter conditions.

    Aruna Akella
    Qdabra® Software / InfoPathDev.com
    The InfoPath Experts – Streamline data gathering to turn process into knowledge.™
  • 04-28-2010 08:47 AM In reply to

    Re: unique drop down list choices from share point list

    Thanks.  I read through the article but it seems to be for making sure that from a datasource the value can only be picked once.

    My problem is that my list I'm trying to use to populate the Drop Down List has a series of values like

    • BE1
    • BE1
    • BE2
    • BE3
    • BE4
    • BE4
    • BE4

    I need to see only BE1,BE2,BE3,BE4 in the drop down.

    Let me know if I missed something in the article or there's any other information I can provide.

    Thanks again for your help.

  • 04-28-2010 01:17 PM In reply to

    Re: unique drop down list choices from share point list


    Attached my test form - I used the same link I posted earlier with some modfications.

    Aruna Akella
    Qdabra® Software / InfoPathDev.com
    The InfoPath Experts – Streamline data gathering to turn process into knowledge.™
  • 04-28-2010 01:18 PM In reply to

    Re: unique drop down list choices from share point list

    Here is the screenshot.


    Aruna Akella
    Qdabra® Software / InfoPathDev.com
    The InfoPath Experts – Streamline data gathering to turn process into knowledge.™
  • 04-29-2010 08:42 AM In reply to

    Re: unique drop down list choices from share point list

    Thanks.

     I looked at your form and the filter you used for your drop down

    not(. = ../preceding::my:group2/my:field2)

    My initial selction with no filtering at all from the Sharepoint List I'm using as a Secondary Data Source is

    /dfs:myFields/dfs:dataFields/dfs:BE_BU_3/@BE

    I tried modifying your filter

    not(. = ../preceding::dfs:BE_BU_3/@BE)

    It seems to have worked.

    THANK YOU VERY MUCH.

     

  • 04-29-2010 09:10 AM In reply to

    Re: unique drop down list choices from share point list

    I am glad it's working! :).

    Aruna Akella
    Qdabra® Software / InfoPathDev.com
    The InfoPath Experts – Streamline data gathering to turn process into knowledge.™
  • 08-24-2011 08:50 PM In reply to

    • Grinch
    • Not Ranked
    • Joined on 08-29-2010
    • Posts 7

    Re: unique drop down list choices from share point list

    Hi

    Is there an equivelant to the shrinking list for Infopath 2010. the "not" is not working now we are using Infopath 2010.

    My list no longer shrinks

     thanks

     Anthony

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