Combo box

H

h3llz

Ive got a combo box which got two columns, staffID and staff name, the first
column is 0cm and second is 2cm, how can i get the first column value via vb?
 
R

Rick Brandt

Ive got a combo box which got two columns, staffID and staff name, the
first column is 0cm and second is 2cm, how can i get the first column
value via vb?

The bound column (regardless of its position or column width) is simply...

Me.ComboBoxName

Any column besides the bound column is...

Me.ComboBoxName.Column(0)
Me.ComboBoxName.Column(1)
etc..
 
H

h3llz

thanks

Rick Brandt said:
The bound column (regardless of its position or column width) is simply...

Me.ComboBoxName

Any column besides the bound column is...

Me.ComboBoxName.Column(0)
Me.ComboBoxName.Column(1)
etc..
 

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