Log inUsernamePassword
Log me on automatically each visit    
Register
Register
Log in to check your private messages
Log in to check your private messages
Visual Basic Forum for Visual Basic Programmers VB Forum Index » Database & Reporting

Post new topic   Reply to topic
combo box
View previous topic :: View next topic  
Author Message
KaleKYlssen
Newbie


Joined: 31 Jan 2004
Posts: 19

PostPosted: Jan 31st, 2004 10:32 AM    Post subject: combo box Reply with quote

I'm having trouble displaying data from a database via the selection from a combo box.

Example
I have a database with the fields ID and Number, and a vb form with a combo box and a text box, what i want to be able to do is display the field number from the record with the ID field selected in the combo box.

This isn't my atual program but a simplified version so that i can adapt it to my program.
Thanks in advance
Back to top
View user's profile Send private message Send e-mail
Avis
Junior Poster


Joined: 07 Oct 2003
Posts: 510
Location: India

PostPosted: Jan 31st, 2004 10:43 AM    Post subject: Reply with quote

Hi!

I have made a sample app. which does what you want. Hope this helps!

Thanks!
_________________
Code Snippets, Tutorials, Utilities, Controls

Low cost Web Hosting
Hosting starts at as low as $4 per year!


Always follow posting guidelines
Put your VB code in [vb ] your code [ /vb] tags!
Back to top
View user's profile Send private message Send e-mail Visit poster's website Yahoo Messenger MSN Messenger ICQ Number
KaleKYlssen
Newbie


Joined: 31 Jan 2004
Posts: 19

PostPosted: Jan 31st, 2004 11:01 AM    Post subject: Reply with quote

Thank you your a life saver, your the first person from a forum thats been able to show me how to do in a week.
THANK YOU
Back to top
View user's profile Send private message Send e-mail
Avis
Junior Poster


Joined: 07 Oct 2003
Posts: 510
Location: India

PostPosted: Jan 31st, 2004 11:16 AM    Post subject: Reply with quote

Anytime! Biggrin
_________________
Code Snippets, Tutorials, Utilities, Controls

Low cost Web Hosting
Hosting starts at as low as $4 per year!


Always follow posting guidelines
Put your VB code in [vb ] your code [ /vb] tags!
Back to top
View user's profile Send private message Send e-mail Visit poster's website Yahoo Messenger MSN Messenger ICQ Number
Display posts from previous:   
Post new topic   Reply to topic    Visual Basic Forum for Visual Basic Programmers VB Forum Index » Database & Reporting All times are GMT - 5 Hours
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum


Visual Basic Forum runs phpBB | Forum Template © iOptional
VB Resources | SSL | Visual Basic