var sidebar_align = 'right';
var content_container_margin = parseInt('290px');
var sidebar_width = parseInt('270px');
Unanswered: Send only one time
Hi everyone reading
on my program, each wednesday (on opening the database), there is an automatic mail sent to the administrator.
My problem is that i want that mail to be sent only one time, and not each time someone opens the program on wednesdays....
i suppose it has sth to matter with a counter, but doesn't know how to write it down.....
it might be sth as :
IF today = Wednesday AND counter = 0 then
counter = counter + 1
thanks in advance for your help
Sidrik, France (excuse my english !!)
You could use something like
Private Sub SendMail
Dim blnMail as Boolean
if blnMail=False then
Private Function CheckMail(blnMail) as Boolean
if Time>timeSerial(9,30,00) then
In your timer event you would write something like
You could set your timer on opening to say update every 5000 or some other measurement.
I think this is enough to get you going.