on 11-28-2014 10:40 AM
I load the combo box data from query with code, description, qty and date.
When I select the combo box, how to retrieve the combobox value from 2nd, 3rd columns and display into Textbox??
hi.
As i understood is.
u need load some values from query like
column1 column2
one qty
two qty1
three qty2
little bit confusion
u can not load 3 columns in comobo box..
only 1 and 2
when ever u select the combo box only first column value will save i think....
u can capture
dim string_1 as sring=ocomobo,selected.value
i think above one u know.
but u asked 2nd and 3rd column
i think it is not possible..
if u say any possibilities
again search in data base based on the selected value
dim Select_value as sting = ocombo.selected.value
now Recordset object..
search in sql
select two,three from table where column1='Select_value'
Do your operation.
========
you can achieve above task by using Cfl...if it is type of object.
if above one is wrong just wait for expert suggestions.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
98 | |
11 | |
11 | |
6 | |
6 | |
4 | |
4 | |
3 | |
3 | |
3 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.