J
Jmar
Having spent many years working with VB 4.0 I've recently purchased
VB.net. At this early point I have two questions.
1) How can I QUICKLY view the code associated with a specific control?
If I right-click on the control, let's say a combo box, and select "View
Code" it seems to take me back to the last code I was viewing. I
would like to go directlly to the combo box event code. This is slowing me way
down!
2) I have data in an ACCESS 2003 database. I have a form that has
several combo boxes and text boxes. Each of these has an associated
field in the database. I want to write code so that each time the user
selects something in any of the combo boxes, a search is done of the
database to find the associated record. If found, the text boxes are
filled with data from that record. It is also possible that there
will not be a matching record so then the user must manually input the
text boxes. What is the easiest way to do this with code. In VB 4.0
I opened a table a did a SQL query to pull up that record. I then set
each text box to the associated field. Im sure there is something
similar in .NET but I'm having difficulty grasping it. Please provide
a code example.
Thank you in advance for help on either question.
John
VB.net. At this early point I have two questions.
1) How can I QUICKLY view the code associated with a specific control?
If I right-click on the control, let's say a combo box, and select "View
Code" it seems to take me back to the last code I was viewing. I
would like to go directlly to the combo box event code. This is slowing me way
down!
2) I have data in an ACCESS 2003 database. I have a form that has
several combo boxes and text boxes. Each of these has an associated
field in the database. I want to write code so that each time the user
selects something in any of the combo boxes, a search is done of the
database to find the associated record. If found, the text boxes are
filled with data from that record. It is also possible that there
will not be a matching record so then the user must manually input the
text boxes. What is the easiest way to do this with code. In VB 4.0
I opened a table a did a SQL query to pull up that record. I then set
each text box to the associated field. Im sure there is something
similar in .NET but I'm having difficulty grasping it. Please provide
a code example.
Thank you in advance for help on either question.
John