locked
Adding "[Select]" item in the Combo Box programatically RRS feed

  • Question

  • Hi all, I am having problem with InfoPath.... I am using Combo Box control in InfoPath. I have binded it with a Web Service Retreve Data Connection with fetches data from Sql Server Database. Now I want to add "[Select]" item at the 0 th index of of the Combo Box programatically.

    Please suggest what to do?

    Any help in this regards would be heighly appreciated.

    • Moved by Mike Walsh FIN Monday, January 2, 2012 1:21 PM InfoPath q (From:SharePoint - Development and Programming (pre-SharePoint 2010))
    Monday, January 2, 2012 12:59 PM

Answers

  • Hi Ali:

     

    Regarding to your question, it is difficult to achieve your goal by programming in InfoPath.

    There is an alternative method for your reference. You can set "[Select]" as the default value, indirectly to achieve the effect you want.

    Set Combo Box default value:Choose Combo Box->Properties->Default value

     

    Thanks,

    Lhan Han

    • Marked as answer by Wayne Fan Monday, January 9, 2012 5:13 AM
    Wednesday, January 4, 2012 3:02 AM
    Moderator