Hi All
When I want that the form was closed when I press on Escape I write the code:
Private Sub Form_KeyDown (KeyCode As Integer, Shift As Integer)
Select Case KeyCode
Case vbKeyEscape
Unload Me
End Select
End Sub
But when I want to close DataReport, at it is not present procedure " Private Sub Form_KeyDown "
How to close DataReport?
Miho
When I want that the form was closed when I press on Escape I write the code:
Private Sub Form_KeyDown (KeyCode As Integer, Shift As Integer)
Select Case KeyCode
Case vbKeyEscape
Unload Me
End Select
End Sub
But when I want to close DataReport, at it is not present procedure " Private Sub Form_KeyDown "
How to close DataReport?
Miho