Thanks niranjan for quick reply.
I want to get an associated value as a output.
if i select "Two", the output should be 2
if i select "Three", the output should be 3
Your example is giving the count of multiple selections on filed "Col2". This is the helpful answer, but no relation to my requirement.
Is there any way to get the associated column values based on the selections made on one column?
My requirement is:
If i select value of the Col2 as "Two", The value should be displayed in the text box is 2.
If is select value of Col2 as "Four", The valud should be displayed in the text box is 4
I hope this helps you to understand my requirement.
In your previous example, The value in text box is 1, if i select any one the values in Col2.
The value in text box is 2, if i selected Two values in col2(for ex: Two & Four ( Or) Three & One).
According to your question in previous post, The value of the text box is 1, if select value "Two" in the Col2 list box.