I have two command buttons, CmdNew and CmdOld, where by clicking the first i make the second visible and vice versa for example
Private Sub CmdNew_Click()
Me!CmdOld.Visible = True
End Sub
I want to use only one toggle button instead,with two captions"Old" and "New".
I have difficulties with making the buttons visible and invisible.Also.if i click New, the caption Old must appear and stay until i have clicked it.If i click Old, the caption Old must appear and stay until i click it.
How could i do that ?
Private Sub CmdNew_Click()
Me!CmdOld.Visible = True
End Sub
I want to use only one toggle button instead,with two captions"Old" and "New".
I have difficulties with making the buttons visible and invisible.Also.if i click New, the caption Old must appear and stay until i have clicked it.If i click Old, the caption Old must appear and stay until i click it.
How could i do that ?