I
Irshad Alam
I want to run a code on Form Timer property only if the
form is on focus, I mean on the active screen, therefore ,
I tried the below code but it does not work :
Private Sub Form_Timer()
If Me = Scren.ActiveForm Then
Docmd.Maximze
End If
End Sub
But the above, does not respond, Can any one advise me the
correct code, so that the code will run only when it will
be an activeForm.
form is on focus, I mean on the active screen, therefore ,
I tried the below code but it does not work :
Private Sub Form_Timer()
If Me = Scren.ActiveForm Then
Docmd.Maximze
End If
End Sub
But the above, does not respond, Can any one advise me the
correct code, so that the code will run only when it will
be an activeForm.