Select to view content in your preferred language

Accessing values in comboboxes

483
1
01-06-2011 01:53 AM
RolfBroch
Frequent Contributor
Does anybody have a suggestion on how to access the text and value of an entry in a combobox without first having set the listindex to the value you are after?

Ex. The listindex is 12 and I am looking for the text and value for the listindices 11 and 13 and I do not want to have to set the listindex to 11 get the text and value and then set the listindex to 13 and get the text and value and THEN set the listindex back to 12 again.

I thought of having a global array into which I can load all the items but hoped to accomplish this some other way.

Rolf
Tags (3)
0 Kudos
1 Reply
RolfBroch
Frequent Contributor
Hi Luke, thanks I will look into that.

The combobox is being filled during the pages' onload event using the additemsfromtable (dbase) request with an sql query but I may be able to do something putting the dbase file into an axf.

Rolf
0 Kudos