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
 

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

Back
Top