FoxLearner
Programmer
Hi All
I have a combobox with 2 columns, optCode, optDesc. The values are liek this:
optcode optDesc
1 Employee
2 Empl. & Spouse
3 Empl. & Child
4 Family
I want the combo box to display optDesc values like Employee/Emplo. & Spouse ... I bound the column 2. When the combo box is initated it shows the column2 values. But when clicked, it is showing values of column1 that is 1,2,3 or 4.
Another thing, I want to capture the opCode value in to a variable lcOptSelct depending on the selection of the user.
Can some one tell me how can I do this?
Thnaks and regards
FoxLearner.
I have a combobox with 2 columns, optCode, optDesc. The values are liek this:
optcode optDesc
1 Employee
2 Empl. & Spouse
3 Empl. & Child
4 Family
I want the combo box to display optDesc values like Employee/Emplo. & Spouse ... I bound the column 2. When the combo box is initated it shows the column2 values. But when clicked, it is showing values of column1 that is 1,2,3 or 4.
Another thing, I want to capture the opCode value in to a variable lcOptSelct depending on the selection of the user.
Can some one tell me how can I do this?
Thnaks and regards
FoxLearner.