General information
Category:
Coding, syntax & commands
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
Previous
Next
Reply
View the map of this thread
View the map of this thread starting from this message only
View all messages of this thread
View all messages of this thread starting from this message only