Hi can any one help me please, How can I go to a control according to text of specific one for example if I have drop down list contains 2 items 'Yes' & 'No' I want to to go to textbox1 if answer is Yes and go to Textbox2 if answer is No .. How can I do this????!11

If possible you could post your piece of code that is dealing with those textbox and lists maybe people could possible help you

using Focus() function...
try this code :

If DropDown.SelectedItem = "Yes" Then
      TextBox1.Focus() ' If Yes go to textbox1
Else
      TextBox2.Focus() ' If No go to textbox2
End If

Thank you it worked

you're Welcome...
Don't Forget to mark this thread Solved..
Happy coding Friend :)

Be a part of the DaniWeb community

We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.