Chixor (chixor1) wrote in vbdev,

  • Mood:

Changing the data bound to a combo box

Hi all, I was wondering if anyone had some advice for the brick wall im running into on a project.
Ive tried different VB forums, and endless searches and I cant seem to find an answer.

Im writing the application in VS2005. The application is a product inventory for foods.
It is linking to an Access Database with 3 tables.

My form has a combo box at the top which allows the user to select the product by description.
It is linked to the description column of the products table.
In my file menu I have options that specify "Select > By Product Description" and "Select > By Product ID"

I cannot for the life of me find any examples of code for these select buttons, that will change the combo box to display either Product ID or Description based on choice?

Any help would be greatly appreciated.
Many thanks.
  • Post a new comment


    default userpic

    Your IP address will be recorded 

    When you submit the form an invisible reCAPTCHA check will be performed.
    You must follow the Privacy Policy and Google Terms of use.