Issue with List box

taniadimitri

Registered User.
Local time
Today, 06:45
Joined
Mar 13, 2007
Messages
17
Hi,

Below is the code for after update event of a list box.

Private Sub multiple_AfterUpdate()
If multiple = "Declining values exist and are not explained" Then
Form("pt" & 20).value = "10"
End If
End Sub


The above code doesn't work. When I try to step into the code the value for "multiple" is showing null, even though I select the value. Can anyone please help me with this.

I have also attached the screenshot of the form.

Thanks in advance.
 

Attachments

could be something like
Code:
if me.multiple.itemsselected ...etc.
 
Last edited:
If you have a list box set to multi-select, the list box then does not have a value. As mentioned by wazz, you will need to iterate through the items selected property to get the values.
 

Users who are viewing this thread

Back
Top Bottom