Advertisement
If you have a new account but are having problems posting or verifying your account, please email us on hello@boards.ie for help. Thanks :)
Hello all! Please ensure that you are posting a new thread or question in the appropriate forum. The Feedback forum is overwhelmed with questions that are having to be moved elsewhere. If you need help to verify your account contact hello@boards.ie
Hi there,
There is an issue with role permissions that is being worked on at the moment.
If you are having trouble with access or permissions on regional forums please post here to get access: https://www.boards.ie/discussion/2058365403/you-do-not-have-permission-for-that#latest

VB6- Database and combobox

  • 31-07-2006 9:39pm
    #1
    Closed Accounts Posts: 1,061 ✭✭✭


    Hey, I have a database created(access 97) and basically, I have a form with a combo box.
    The database has these fields: name, address, telephone, email.
    I want all the names to be displayed in the combo box and when you click on a name, the address, telephone, and email will be displayed in separate text boxes.

    What's the best way to do that?
    I have a data control called data1 and so far, I can go through the records in the DB but can't get the names to display in the combo box.


Comments

  • Registered Users, Registered Users 2 Posts: 2,931 ✭✭✭Ginger


    Use the columnCount to set the number of columns in the combo box and set the boundcolumn to the first one if its your id column

    HTH


Advertisement