how to set default value of database driven dropdown - InfoPath Dev
in

InfoPath Dev

how to set default value of database driven dropdown

Last post 04-19-2011 03:50 PM by Greg Collins. 3 replies.
Page 1 of 1 (4 items)
Sort Posts: Previous Next
  • 02-07-2011 07:52 AM

    how to set default value of database driven dropdown

    Sir I have a problem in my InfoPath form having a dropdown which is filled by database.How can i set a default value in dropdown? Please help meThanks

     

    Filed under:
  • 02-07-2011 10:44 AM In reply to

    Re: how to set default value of database driven dropdown

     You can either set it at design time in the data source task pane, or you can set it at run time using rules (such as an open rule).

  • 02-08-2011 12:20 AM In reply to

    Re: how to set default value of database driven dropdown

    Thanks Greg to reply me.But I can't understand how i put the rule or set it at design time in the data source task pane.Please give me full detail of set default value of database driven dropdown.

    Thanks.

     

  • 04-19-2011 03:50 PM In reply to

    Re: how to set default value of database driven dropdown

    You have a drop-down, bound to some node in either in your main DOM or a secondary DOM, which is popualted with your database values. To create a default selection, you need to either go to that specific node, to which the drop-down is bound, and set the default value there. If you are unable to set a default value on that node (i.e. because it is a secondary data source node), then you can use an open rule to set the value of that node when the form opens. Just pick some value that is in the list from the database and use that as the default value.

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