Combo box question when developing a SQL database in Visual Basic 6

Tags:
ADO
Microsoft Access
SQL Server database
Visual Basic
Visual Basic 6
I am developing a SQL database using Visual Basic 6 with ADO and Microsoft Access, but in it, I have a combo box with two options - yes and no. I want the combo box, after yes or no is selected, to open another form where a user can enter other details. How would I do this?
ASKED: December 5, 2008  6:20 PM
UPDATED: December 5, 2008  6:39 PM

Answer Wiki

Thanks. We'll let you know when a new response is added.

To call another form, you could use its “Show” method. You could call it from the “Click” event of your combo.

For example:

<pre>Private Sub Combo1_Click()
Form2.Show
End Sub</pre>

Discuss This Question:  

 
There was an error processing your information. Please try again later.
Thanks. We'll let you know when a new response is added.
Send me notifications when members answer or reply to this question.

REGISTER or login:

Forgot Password?
By submitting you agree to receive email from TechTarget and its partners. If you reside outside of the United States, you consent to having your personal data transferred to and processed in the United States. Privacy

Forgot Password

No problem! Submit your e-mail address below. We'll send you an e-mail containing your password.

Your password has been sent to:

To follow this tag...

There was an error processing your information. Please try again later.

REGISTER or login:

Forgot Password?
By submitting you agree to receive email from TechTarget and its partners. If you reside outside of the United States, you consent to having your personal data transferred to and processed in the United States. Privacy

Thanks! We'll email you when relevant content is added and updated.

Following