Default Combobox

  • Thread starter Thread starter Anthony Bollinger
  • Start date Start date
A

Anthony Bollinger

How do I default an unbound combobox to the value of the first column, first
row? .Column(0,0) does not work.

Thanks,
Tony
 
Anthony said:
How do I default an unbound combobox to the value of the first column, first
row? .Column(0,0) does not work.


As long as the BoundColumn is the first column, that should
work. Maybe you're using it in the wrong place??

The standard way to do that is to use:
.ItemData(0)
 
In the load event of the form I have code:

cboBuyerKey = cboBuyerKey.Column(0,0). I have also tried .Column(0).

I will give .ItemData(0) a try later today.

Thanks,
Tony
 
Back
Top