What I am trying to do is have 2 radio buttons below a list box which lets you select what selection type you want, either simple =1 or extended =2. In the help files it says to just assign the value to the form item.
"To set the MultiSelect property, you can use the following:
Forms("Order Entry").Controls("Country").MultiSelect = 2 ' Extended.
"
So in the afterupdate of my frame i have it set my listbox to 2
Me.lstCompanyName.MultiSelect = 2
but i get an error that says:
Run-time error '2448':
You can't assign a value to this object
I also tried the exact way that it says in the help file and it gives me the same message
Any suggestions?
mike
"To set the MultiSelect property, you can use the following:
Forms("Order Entry").Controls("Country").MultiSelect = 2 ' Extended.
"
So in the afterupdate of my frame i have it set my listbox to 2
Me.lstCompanyName.MultiSelect = 2
but i get an error that says:
Run-time error '2448':
You can't assign a value to this object
I also tried the exact way that it says in the help file and it gives me the same message
Any suggestions?
mike