Populate dropdown from textbox or group - InfoPath Dev
in

InfoPath Dev

Populate dropdown from textbox or group

Last post 05-05-2011 07:28 AM by The Todd. 2 replies.
Page 1 of 1 (3 items)
Sort Posts: Previous Next
  • 05-04-2011 12:25 PM

    Populate dropdown from textbox or group

    Please forgive me if this has already been asked, but I couldn't find it. 

    I have a drop down list that I am populating from a sharepoint list with locations and their respective id numbers.

    What I want to do is automagically select the current users location. However, the current user location only gives me the id of the location without the name.

    Is there any way I can use that id to check the items in the dropdown or the sharepoint list itself to get the full location string?

    Example:

    user location: 1111

    list data:

    1110 - Los Angeles
    1111 - Orlando
    1112 - Austin
    1113 - New York

    --
    The Todd
  • 05-05-2011 05:00 AM In reply to

    Re: Populate dropdown from textbox or group

     You would need to query the full list from SharePoint into a secondary data source. Once there, you can use a filter to find the city. You'll have the ID for the user, and the list of IDs, so it's just a filter to get the city name. Make sense?

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


  • 05-05-2011 07:28 AM In reply to

    Re: Populate dropdown from textbox or group

    Thanks Ernesto! Makes perfect sense.

    I got it figured out yesterday. I thought I edited my post.

    Thanks again!

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