AccessDevJunior
Programmer
hya,
this is the scenario:
if the user wishes to receive a call back reminder they tick a box and update [date] field and [time] field with the date and time they would like the call back.
the switchboard is always open and when it does open up it also opens open another form [frm_CallBackReminder] this is 'hidden'.
This is the code on the hidden form timer:
If DLookup("[Date]", "tbl_CallBackReminder", _
"[Date] = [Forms]![frm_CallBackReminder]![Date]") And DLookup("[Time]", "tbl_CallBackReminder", _
"[Time] = [Forms]![frm_CallBackReminder]![Time]") Then
(then there is some code to send an email through lotus notes to remind the user)
there are 2 fields on the hidden form [Date] and [Time] the date field =Date() and the Time field =Time() <<updates every second.
im having problems getting the database to send the email when both dates and times match up. Is it because the hidden form has not got focus and so the timer stops?
this is the scenario:
if the user wishes to receive a call back reminder they tick a box and update [date] field and [time] field with the date and time they would like the call back.
the switchboard is always open and when it does open up it also opens open another form [frm_CallBackReminder] this is 'hidden'.
This is the code on the hidden form timer:
If DLookup("[Date]", "tbl_CallBackReminder", _
"[Date] = [Forms]![frm_CallBackReminder]![Date]") And DLookup("[Time]", "tbl_CallBackReminder", _
"[Time] = [Forms]![frm_CallBackReminder]![Time]") Then
(then there is some code to send an email through lotus notes to remind the user)
there are 2 fields on the hidden form [Date] and [Time] the date field =Date() and the Time field =Time() <<updates every second.
im having problems getting the database to send the email when both dates and times match up. Is it because the hidden form has not got focus and so the timer stops?