View Full Version : Setting the index on a combo box


eoinoreilly
04-18-2001, 05:00 AM
I have two combo boxes on a form. I am trying to show the first value in the first combo box and the last value in the second one. I can't use Listindex as it's a read only value. Is there anything else I can use.

Thanks,

Eoin

DES
04-18-2001, 05:21 AM
I'm not really sure why you would want to do this unless you want them to be a default starting point for the combos. However you can try playing with the sort orders or the two combo boxes to get what you want. Generally you would use the results of the first combo to give you different options in the second combe. If you want a sample let me know.

eoinoreilly
04-18-2001, 05:29 AM
Thanks for the reply.

The two combo boxes will contain the same values. The idea is to show the range that a query will be run on (i.e. from the first value to the last value). The sort order is no good as I want them to be in the same order.

charityg
04-18-2001, 08:20 AM
Have you tried setting the default values for the combo box?