AccessDevJunior
Programmer
hya,
im still having problems with Dlookup, i have a form with the following code on the timerinterval.
Nothing happens when the date and time match??? does anyone know why?
Private Sub Form_Timer()
If DLookup("[Date]", "tblCallRecords", _
"[Date] = Date()") And DLookup("[Time]", "tblCallRecords", _
"[Time] = Time()") Then
'Code for sending e-mail
End If
End Sub
im still having problems with Dlookup, i have a form with the following code on the timerinterval.
Nothing happens when the date and time match??? does anyone know why?
Private Sub Form_Timer()
If DLookup("[Date]", "tblCallRecords", _
"[Date] = Date()") And DLookup("[Time]", "tblCallRecords", _
"[Time] = Time()") Then
'Code for sending e-mail
End If
End Sub