On my switchboard im trying to display the current date and time, ive retrieved a peice of code but it does seem to work, am i missing something?:
'TO DISPLAY THE CURRENT TIME AND DATE
Private Sub Form_Load()
txtDayOfWeek = WeekdayName(Weekday(Date), , vbSunday)
End Sub
Private Sub Form_Timer()
txtDateTime = Now()
End Sub
Private Sub txtDateTime_BeforeUpdate(Cancel As Integer)
End Sub
'TO DISPLAY THE CURRENT TIME AND DATE
Private Sub Form_Load()
txtDayOfWeek = WeekdayName(Weekday(Date), , vbSunday)
End Sub
Private Sub Form_Timer()
txtDateTime = Now()
End Sub
Private Sub txtDateTime_BeforeUpdate(Cancel As Integer)
End Sub