Results 1 to 2 of 2

Thread: ComboBox Problem

Threaded View

  1. #1

    Thread Starter
    Frenzied Member
    Join Date
    Feb 2009
    Posts
    1,058

    ComboBox Problem

    Hi,

    I populate my dropdownlist combobox (cmbinactiveproj) from a datasource as shown below. However, I want thethe dropdownlist value selected to be equal to the txtprojnameupdt.text. For example,

    The dropdownlist as in the database is;

    London
    Manchester
    Liverpool

    So if txtprojnameupdt.text = Manchester, on load I want the combobox to go to Manchester instead of London .
    With the below code it is is still showing London.

    Unless I scroll down and select Manchester. I want it to show manchester straight away...


    Code:
    Me.QryactiveprojectsTableAdapter.Fill(Me.Projstatus.qryactiveprojects)
    
            txtprojnameupdt.Text = cmbinactiveproj.Text

    Thanks
    Last edited by dr223; May 25th, 2010 at 11:04 AM.

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