Hi all,
I have a Form on which I have 3 Command Buttons (1) cmdPrintReport (2) cmdNextRecord (3) cmdCloseForm.
I have set both cmdNextRecord and cmdCloseForm to Visible = No and have on Exit from cmdPrintReport
Private Sub cmdPrintReport_Exit(Cancel As Integer)
Me.cmdNextRecord.Visible = True
Me.cmdCloseForm.Visible = True
End Sub
How do I make change both Buttons to .Visible=False on exit for either?
Thanking you
Rayhogan
I have a Form on which I have 3 Command Buttons (1) cmdPrintReport (2) cmdNextRecord (3) cmdCloseForm.
I have set both cmdNextRecord and cmdCloseForm to Visible = No and have on Exit from cmdPrintReport
Private Sub cmdPrintReport_Exit(Cancel As Integer)
Me.cmdNextRecord.Visible = True
Me.cmdCloseForm.Visible = True
End Sub
How do I make change both Buttons to .Visible=False on exit for either?
Thanking you
Rayhogan