Results 1 to 7 of 7

Thread: [SOLVED] How to display bound column in ComboBox when form loads in vb 2010 Express

Threaded View

  1. #1

    Thread Starter
    Hyperactive Member
    Join Date
    Jun 2010
    Location
    Lake Gaston, NC
    Posts
    453

    [SOLVED] How to display bound column in ComboBox when form loads in vb 2010 Express

    I am new to VB 2010.
    I have set the properties of the combobox as below:

    I have a ComboBox whose Display Source is set to "Managers Binding Source" and Display Member is set to "Manager Name".
    Under DataBindings I have the Text property set to "Salesperson Binding Source - SalespersonManager".

    When I select a manager name in the comboBox the Salesperson database is updated with the newly selected Manager Name just fine.

    My problem is, when the form loads the next time, the ComboBox shows the first Manager in the Display Member list INSTEAD OF THE MANAGER THAT THIS COMBOBOX IS BOUND TO.

    How do I get the bound column to display in the combobox instead of the first member of the Display Mamber list??
    Last edited by DexterRose; May 9th, 2013 at 02:36 PM.

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  



Click Here to Expand Forum to Full Width