Hi all
I want to show/hide records in a listbox depending on which command button is pressed. I have 5 command buttons and column 3 in my list box refers to each of these command buttons (1-5).
How do i display the records in the listbox that match that ID/command button? I was think of:
Private Sub CommandButtonNo_Click()
Me.OrderBy = "FieldName"
Me.OrderByOn = True
End Sub
But i dont want to order that field I want to display matching records in that field.
Thanks
I want to show/hide records in a listbox depending on which command button is pressed. I have 5 command buttons and column 3 in my list box refers to each of these command buttons (1-5).
How do i display the records in the listbox that match that ID/command button? I was think of:
Private Sub CommandButtonNo_Click()
Me.OrderBy = "FieldName"
Me.OrderByOn = True
End Sub
But i dont want to order that field I want to display matching records in that field.
Thanks