dropdown value pre-selected - InfoPath Dev
in

InfoPath Dev

dropdown value pre-selected

Last post 05-06-2010 11:02 AM by Jimmy. 1 replies.
Page 1 of 1 (2 items)
Sort Posts: Previous Next
  • 05-06-2010 02:28 AM

    dropdown value pre-selected

    i have a dropdown control pulling in values from a database.

    what i would like to do on form load is have the dropdown show the department that the machine user belongs to... BUT also show all the other values in case they wish to change this for whatever reason...

    i can easily set this with a filter on the data source but it only shows the 1 department excluding all the other options.

    setting an added rule on the control has no effect.

     

  • 05-06-2010 11:02 AM In reply to

    Re: dropdown value pre-selected

    You should use a default value on the field bound to the dropdown box, or a rule to set the value of the field bound to the dropdown box.  However, the rule to do this cannot be on that field itself because rules on fields only execute when their field's value changes.
    Jimmy Rishe / Software Developer / Microsoft MVP
    Qdabra Software
Page 1 of 1 (2 items)
Copyright © 2003-2019 Qdabra Software. All rights reserved.
View our Terms of Use.