How to dynamically or programatically change the data source of a dropdown list ? - InfoPath Dev
in

InfoPath Dev

How to dynamically or programatically change the data source of a dropdown list ?

Last post 06-10-2014 10:51 PM by donstephen. 1 replies.
Page 1 of 1 (2 items)
Sort Posts: Previous Next
  • 06-10-2014 09:16 AM

    • pha02
    • Not Ranked
    • Joined on 06-10-2014
    • Posts 2

    How to dynamically or programatically change the data source of a dropdown list ?

     Hi,

     

    I have a dropdown list which contains list of projects sorted by project code by default.

    I would like to dynamically change the data source in order to select the one that presents the list of projects sorted by project name rather than project code.

    The change would be initiated with a checkbox set to TRUE.

    Does anyone can help or give me a solution ?

    Thanks in advance

    Paskal

  • 06-10-2014 10:51 PM In reply to

    Re: How to dynamically or programatically change the data source of a dropdown list ?

    Hi Paskal,

    Unfortunately, changing a drop-down's data source order is not possible out of the box, and you will probably need to use code to change a data connection's sort order. You can however use two drop-down list boxes for each data connection sort order and use a hide-show logic for the check box. Or, you might want to try out qRule's SortTable command to dynamically change the data source's in sort order.

    Regards,

    Don Stephen Lambatin / Support Engineer
    Qdabra Software
Page 1 of 1 (2 items)
Copyright © 2003-2019 Qdabra Software. All rights reserved.
View our Terms of Use.