Chixor (chixor1) wrote in vbdev,
Chixor
chixor1
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

    Error

    default userpic

    Your IP address will be recorded 

  • 2 comments