Be careful with the blinking. If you over do it, you'll drive the users
nuts. That said, to make a label blink, use the form's Timer event. In that
event, make the label alternately visible/not visible.
Example:
Me.LabelName.Visible = Not Me.LabelName.Visible
To start and stop this, set the form's Timer Interval property in your code.
Setting the Timer Interval to 0 will stop the flashing, setting it to any
other positive integer will start the flashing at the rate you set. The
value is for 1/1000 seconds, so to flash once per second you would enter a
value of 1000. When you set the Timer Interval back to 0, be aware that the
control may be in either cycle of the flash (visible/not visible) so you'll
also need to set the Visible property of the label in the code that sets the
timer interval to 0.
Example:
Me.TimerInterval = 1000
If you know that you only want the label to flash a certain number of times,
say 10, then you could have the timer event stop itself by using a static
variable in the timer event.
Example:
Static intCounter As Integer
intCounter = intCounter + 1
Me.LabelName.Visible = Not Me.LabelName.Visible
If intCounter >= 10 Then
Me.TimerInterval = 0
Me.LabelName.Visible = True
intCounter = 0
End If
To change the value of a control back to its old value, just Undo the
control.
Example:
Me.ControlName.Undo
If the control has updated (it's no longer the active control) but the
record hasn't yet been saved, then you can use the OldValue property of the
control.
Me.ControlName = Me.ControlName.OldValue