HEy, Chief!
I finally heard from an old hand on another site and he suggested trying to
eliminate the problem by writing the time and date to labels instead of text
boxes. If you want to give it a go:
Backup your db file! You really should do this after closing the db anytime
you spend more than 15-20 minutes making changes, and *at least* once a day
if you've used the db!
In Design View
Select txtOmega
Goto Format - Change To
Select Label
Repeat these steps for txtDayRunner
Then, in code, copy and paste this code over your old code for these two subs
(or insert the code in Form_Open if you have stuff in there not pertaining to
the clock hack) :
Private Sub Form_Open(Cancel As Integer)
'Displays while waiting for timer to crank up
Me.txtOmega.Caption = Format(Time, "HH:MM:SS")
Me.txtDayRunner.Caption = Date 'Display date
End Sub
Private Sub Form_Timer()
Me.txtOmega.Caption = Format(Time, "HH:MM:SS") 'Display time
Me.txtDayRunner.Caption = Date 'Display date
End Sub
Now, by default the background color of labels is the same as the color of
the form section they appear on, so you'll probably want to change this to
make it stand out. Right click on the label then use
Fill/Back Color
Font/Fore Color
Special Effect
to change the appearance to something easier on the eye.
Linq