If I have a form with a combo box placed in just a simple form, I will be able to say:
For example:
if combobox.text = "form2" then
my.forms.form2.show
End if
but since I want to put a combo box inside a datagridview in order to display form2, my code will be written in a different way and I don't know how to write a code for that way.
I just need a way to say if "John" is selected in the combobox of the datagridview then show form2
For example:
if combobox.text = "form2" then
my.forms.form2.show
End if
but since I want to put a combo box inside a datagridview in order to display form2, my code will be written in a different way and I don't know how to write a code for that way.
I just need a way to say if "John" is selected in the combobox of the datagridview then show form2