Kysteratwork
Technical User
Hi all,
I have a question with regards to this code I use in a form to display time and date:
Private Sub Form_Timer()
Me!lblClock.Caption = Format(Now, "dddd, mmm d yyyy, hh:mm AMPM")
End Sub
Private Sub cmdClockStart_Click()
Me.TimerInterval = 1000
End Sub
Private Sub cmdClockEnd_Click()
Me.TimerInterval = 0
End Sub
But I get an error message saying:
"Compile error: Can't find project or library"
And format is higlighted in the code.
What does this mean?
Thank you for any indication you may have.
Kysteratwork
I have a question with regards to this code I use in a form to display time and date:
Private Sub Form_Timer()
Me!lblClock.Caption = Format(Now, "dddd, mmm d yyyy, hh:mm AMPM")
End Sub
Private Sub cmdClockStart_Click()
Me.TimerInterval = 1000
End Sub
Private Sub cmdClockEnd_Click()
Me.TimerInterval = 0
End Sub
But I get an error message saying:
"Compile error: Can't find project or library"
And format is higlighted in the code.
What does this mean?
Thank you for any indication you may have.
Kysteratwork