Hi,
I have a very basic query which turns the visibility of items in a form on or off depending which button has been pressed.
The query fires on click.
A condensed version of some of the code reads:
Private Sub btnElecBack_Click()
picGas.Visible = True
btnElecTotal.Visible = True
btnElecBack.Visible = False
End Sub
The problem occurs when I try to hide the button being used. I get an error saying that the button cannot be hidden.
Any ideas??
I have a very basic query which turns the visibility of items in a form on or off depending which button has been pressed.
The query fires on click.
A condensed version of some of the code reads:
Private Sub btnElecBack_Click()
picGas.Visible = True
btnElecTotal.Visible = True
btnElecBack.Visible = False
End Sub
The problem occurs when I try to hide the button being used. I get an error saying that the button cannot be hidden.
Any ideas??