I am creating a set of cmd buttons on a parent from for navigation around that and 4 nested subforms. When I move the focus and use the button the parent form becomes invisible.
How do I change this so that it remains visible at all times?
Here is the code for one of the buttons
Private Sub cmdPrevious_Click()
On Error GoTo cmdPrevious_Click_Err
Screen.PreviousControl.SetFocus
DoCmd.GoToRecord , "", acPrevious
cmdPrevious_Click_Exit:
Exit Sub
cmdPrevious_Click_Err:
MsgBox Error$
Resume cmdPrevious_Click_Exit
End Sub
Any assistance would be appreciated.
Thanks
How do I change this so that it remains visible at all times?
Here is the code for one of the buttons
Private Sub cmdPrevious_Click()
On Error GoTo cmdPrevious_Click_Err
Screen.PreviousControl.SetFocus
DoCmd.GoToRecord , "", acPrevious
cmdPrevious_Click_Exit:
Exit Sub
cmdPrevious_Click_Err:
MsgBox Error$
Resume cmdPrevious_Click_Exit
End Sub
Any assistance would be appreciated.
Thanks