brwnsuga21
Technical User
When I select a new record the listbox in my database does not clear. I have tried putting "null" in the default value property field as well as (""). I've even tried the below code changing the command button name to the one in my database and that didnt work either.
Private Sub YourCommandButtonName_Click()
Dim varItm As Variant
With YourListBoxName
For Each varItm In .ItemsSelected
.Selected(varItm) = False
Next varItm
End With
End Sub
Since I am new to this I cant seem to make anything work. Please help. I am running out of solutions.
Private Sub YourCommandButtonName_Click()
Dim varItm As Variant
With YourListBoxName
For Each varItm In .ItemsSelected
.Selected(varItm) = False
Next varItm
End With
End Sub
Since I am new to this I cant seem to make anything work. Please help. I am running out of solutions.