General information
Category:
Coding, syntax & commands
Title:
Multi-selecting Prob w/ listbox with rowsource = 6 (Fields)
Environment versions
Network:
Windows 2003 Server
All,
I have been having the following problem with a listbox on my form. Whenever I multi-select items from the list, and then press Tab to lose focus from the listbox, and shift-tab to regain focus to the listbox; the list selects items that I never clicked, and does not retain the items that I selected.
To repeat this scenario, create a new form with a listbox and a command button. Set the row source to 6 fields and tie the data to a column in a table. Set the multi-select property of the listbox to .T. Now run the form, select multiple items from the list, tag focus away from the list and then bring focus back. You will notice unexpected results.
I looked in the MSDN knowledge base and found the article kbprb KB136588. The solution they posed was adding each item programmatically with Additem methods, but this isn't a viable solution because my form generates results from a user's query that could generate over 200 results.
Would love some input on this if anyone knows any?
Thank you,
-Diran
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