Combo box default

D

Dudley

I have a combo box for country ISO codes with GBR as the default, which works
fine. However, if I make it a 2 column box with e.g. Germany in col 1 one and
DEU in col 2, the default no longer works. I have tried "GBR" and "GBR";"GBR"
but it always comes out blank. Can you have a default value with a 2 column
combo box, and if so how?

Thanks
Dudley
 
D

Douglas J. Steele

The DefaultValue should be set to the value of the bound column. If your
first column (with GBR) is the bound column, then the DefaultValue should
simply be GBR, regardless of what appears in the other column(s).
 
D

Dudley

Thanks very much for your help. My mistake was just making it the default and
not a combo box item as well.

Dudley
 

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