Connecting Tech Pros Worldwide Forums | Help | Site Map

List Box.....

Newbie
 
Join Date: Jul 2008
Posts: 1
#1: Jul 2 '08
Please help!

I have created a list box on a form. I can select multiple values from this box, and complete the other text boxes etc on the record, then move onto the next record to insert new data. However, when i return to the previous records, the values selected in the list box have not been saved, where as the other data in the text boxes etc has.......

How can i make sure that the values i have selected in the list box are saved, so that when i return to each record, the previuosly selected values are visible (highlighted)??

Many Thanks!

NeoPa's Avatar
Administrator
 
Join Date: Oct 2006
Location: London - UK
Posts: 15,730
#2: Jul 2 '08

re: List Box.....


Fundamentally, for the value of a control to be saved for future re-use, it needs to be bound. As the value of a ListBox is always Null when set to MultiSelect anyway, this cannot work (If you think about it it makes little sense anyway).
Quote:

Originally Posted by MS Help

... In addition, when the MultiSelect property is set to Extended or Simple, the value of the list box control will always be Null. ...

Reply