Still having dropdownlist woes - InfoPath Dev
in

InfoPath Dev

Still having dropdownlist woes

Last post 08-21-2006 02:22 PM by Greg Collins. 4 replies.
Page 1 of 1 (5 items)
Sort Posts: Previous Next
  • 08-21-2006 10:25 AM

    Still having dropdownlist woes

    Hi all,

    I have posted several times about this issue but it keeps coming up. I have a form with several views. There is an applicant view, an approval view and an applicant update view. If the approver has a question about something on the form, they can send it back to applicant for clarification. When the applicant opens the form back up in the new view, the dropdownlists (they are in a repeating area and are filled from a data connection) are shown with the value being displayed instead of the DisplayName.

    Here are the properties of the dropdown in the Update view.

    Category = AccountName[AccountCode = current()]

    Value = AccountCode
    DisplayName = AccountName


    Here is what the dropdown looks like. You can see that the selected value is a system code not the name "Airfare".



    Why is this not working? It's driving me crazy.

    Rhonda
  • 08-21-2006 11:51 AM In reply to

    Re: Still having dropdownlist woes

    This usually occurs because there is not match found. The actual stored value will be displayed as both Value and DisplayName when no match is found in the options source list.

    I am assuming your drop-down is populated from a secondary data source. So my initial inclination is that your data source is somehow different (filtered?) based on the user. The one user has some options that the other user does not.
  • 08-21-2006 12:30 PM In reply to

    Re: Still having dropdownlist woes

    That is partly true. It does change based on user but in this instance it is the same user opening the two different views. I will look into further. Thanks for the tip.

    Rhonda
  • 08-21-2006 01:19 PM In reply to

    Re: Still having dropdownlist woes

    UPDATE: The user information in the 2nd view was always blank so even though theoretically it was the same user, it wasn't programmatically.

    Thanks for pointing me in the right direction.

    Rhonda
  • 08-21-2006 02:22 PM In reply to

    Re: Still having dropdownlist woes

    Great! Glad I was able to help!
Page 1 of 1 (5 items)
Copyright © 2003-2019 Qdabra Software. All rights reserved.
View our Terms of Use.