Hide/Unhide command buttton
Posted on 2008-10-02
Ok, I know this question has been posted before, but I need some help with this as the solution doesn't work on my problem.
Can anyone tell me what wrong with this code???
Private Sub cmdFilter_Click()
Me.Filter = "Sold=True"
Me.cmdUnFilter.Visible = True
Private Sub cmdUnFilter_Click()
Me.Filter = "Sold=False"
Me.cmdUnFilter.Visible = False
The UnFilter button is set to visible = no