>Something new.
>
>I was using RowSourceType = 2. I decided to change this to RowSourceType = 0 and manually loading the listbox through AddListItem(). Now it works. I decided to try other possible RowSourceTypes. Here are the results:
>
>RowSourceType = 0 (None): Works.
>RowSourceType = 1 (Value): Works.
>RowSourceType = 2 (Alias): Does not work.
>RowSourceType = 3 (SQL): Does not work.
>RowSourceType = 4 (Query): Does not work.
>RowSourceType = 5 (Array): Works.
>
>RowSourceType 6 - 9 do not apply to this situation.
>
>Bottom line is that the Selected() method in a Listbox does not function properly when using a table/cursor/query. The other three RowSourceTypes (None, Value, Array) do work.
>
>Thanks again for your help.
>
>Todd
Todd,
With alias types (2,3,4) it's known to work only when you're focused in listbox.
Cetin