A
Andrea Hahn
Hello,
I want to use a listbox in one form to navigate records in another form
after double-click on one listbox entry. The listbox RowSource is being
populated with a SELECT-statement in VB code "OnCurrent", since the content
is context dependent. After selection, I intend to use the
control.ItemData(rowindex) property to get the key I need for navigating
within the second form. But now I am stuck at an unexpected point before
even getting round to that: I cannot select an item from the listbox, and I
don't quite understand why. The listbox is enabled and is not locked.
Multiselect is set to "simple". It shows the rows I populated it with, but I
cannot click on an individual row (it does not change to white-on-black as I
would expect it to do). Using the space bar, the first row gets selected,
but the first one only. What am I doing wrong here?
Thanks for any ideas,
Andrea
I want to use a listbox in one form to navigate records in another form
after double-click on one listbox entry. The listbox RowSource is being
populated with a SELECT-statement in VB code "OnCurrent", since the content
is context dependent. After selection, I intend to use the
control.ItemData(rowindex) property to get the key I need for navigating
within the second form. But now I am stuck at an unexpected point before
even getting round to that: I cannot select an item from the listbox, and I
don't quite understand why. The listbox is enabled and is not locked.
Multiselect is set to "simple". It shows the rows I populated it with, but I
cannot click on an individual row (it does not change to white-on-black as I
would expect it to do). Using the space bar, the first row gets selected,
but the first one only. What am I doing wrong here?
Thanks for any ideas,
Andrea