Combobox binding problem

J

JezB

I have a combobox that I want to bind to a data table column (eg. Table
EMPLOYEE column EMP_DEPARTMENT), so that when I step through employees each
employee's department is shown.

However, the actual values in the combobox I want to populate from another
source (eg. Table DEPARTMENT Column DEPT_CODE Description DEPT_DESC.

How do I bind the combobox to EMPLOYEE.EMP_DEPARTMENT while also binding the
available values to the DEPARTMENT table ?
 
S

Steve Alpert

JezB said:
I have a combobox that I want to bind to a data table column (eg. Table
EMPLOYEE column EMP_DEPARTMENT), so that when I step through employees each
employee's department is shown.

However, the actual values in the combobox I want to populate from another
source (eg. Table DEPARTMENT Column DEPT_CODE Description DEPT_DESC.

How do I bind the combobox to EMPLOYEE.EMP_DEPARTMENT while also binding the
available values to the DEPARTMENT table ?

I've a related problem. I don't want to populate the item list until I
get a dropdown event 'cuz it means another database access.

/steveA
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top