C
Chrisso
Hi All
I have a form that tells the user that the DB is updating. I have
programmed an OnTimer event to make some of the code flash to draw the
users attention:
Private Sub Form_Timer()
With Me.lblUpdating
.ForeColor = (IIf(.ForeColor = vbRed, vbBlack, vbRed))
End With
End Sub
When I view it in form mode from the database window it displays
perfect and the text flashes nicely.
However - when I open it from a sub in a module before I run the
update the text does not flash at all as though the OnTimer event is
never called. I put a debug Stop in the OnTimer and this confirms that
the event is not called!
I am just opening the form in a very straight forward fashion:
' tell the user what is happening:
DoCmd.OpenForm "frmTADUpdating"
Any ideas what I am doing wrong here?
Thanks in advance for any ideas,
Chrisso
I have a form that tells the user that the DB is updating. I have
programmed an OnTimer event to make some of the code flash to draw the
users attention:
Private Sub Form_Timer()
With Me.lblUpdating
.ForeColor = (IIf(.ForeColor = vbRed, vbBlack, vbRed))
End With
End Sub
When I view it in form mode from the database window it displays
perfect and the text flashes nicely.
However - when I open it from a sub in a module before I run the
update the text does not flash at all as though the OnTimer event is
never called. I put a debug Stop in the OnTimer and this confirms that
the event is not called!
I am just opening the form in a very straight forward fashion:
' tell the user what is happening:
DoCmd.OpenForm "frmTADUpdating"
Any ideas what I am doing wrong here?
Thanks in advance for any ideas,
Chrisso