Computing.Net > Forums > Programming > VB 2005 Express

Computer Problems? Computing.Net has over 1,000,000 posts about all things technology related! Over 90% answered within 24 hours! Click here to start participating now! Also, be sure to check out the New User Guide.

VB 2005 Express

Reply to Message Icon

Name: HIT
Date: February 21, 2007 at 02:29:23 Pacific
OS: XP Pro
CPU/Ram: AMD64 3800+ / 768DDR400
Product: Home Made
Comment:

Hi

I'm currently going through the 2005 Express Edition help files and am following the tutorial that explains how to create a database - just a simple addresses dbase. I want to be able to show the information via the details option (rather than the grid option) which i can do, but i would really like to have a pulldown menu showing all first names included in the database, so that when i pick a name from the list, that persons details come up.

Would i have to add some code to the pulldown field? If so, could anyone point me in the right direction as i can't seem to find anything on the net about it?

Thanks.

H.I.T



Sponsored Link
Ads by Google

Response Number 1
Name: HIT
Date: February 22, 2007 at 08:27:59 Pacific
Reply:

Okay i'm half way there...i simply looked into the properties of the Combo box and chose accrordingly, ie. the dataset and so on.

Although i can indeed add details to my dbase and type the name into the combo box, when i reopen the dbase i can pick a name and the details of that contact comes up...great! BUT, if i then choose a different name, the name field just updates the current contact with the new one i'm picking from the list!

This i assume is because it has the ability to be updated at runtime (ie. i can rename the contact in the combo box and save), but its updating the name of the contact with the next name i choose from the list!

Anyone know what i'm doing wrong?

Thanks

H.I.T


0
Reply to Message Icon

Related Posts

See More







Post Locked

This post is quite old and has been locked from receiving new replies. Please create a new posting instead.


Go to Programming Forum Home


Sponsored links

Ads by Google


Results for: VB 2005 Express

VB 2005 Express Ed. www.computing.net/answers/programming/vb-2005-express-ed/14205.html

VB 2005 Save File Dialog www.computing.net/answers/programming/vb-2005-save-file-dialog/14017.html

Visual Basic 2005 Express Edition www.computing.net/answers/programming/visual-basic-2005-express-edition-/10970.html