Automatically alert

A

Angkor

I store few pending task in Access or MS SQL and set the deadline to
each item. While I am viewing the webpage, it will give message or
alert with specific time. How can I do in ASP?
 
E

Evertjan.

Angkor wrote on 22 mrt 2006 in microsoft.public.inetserver.asp.general:
I store few pending task in Access or MS SQL and set the deadline to
each item. While I am viewing the webpage, it will give message or
alert with specific time. How can I do in ASP?

something like (depending on your db-engine and connection method):

sql = "... where alarmDate between now()-1 and now()+1 .... "

set mD=CONNECT.Execute(SQL)

do until mD.Eof
%>
Alarm: <%=mD("alarmDate")%> (<%=mD("alarmReason")%>)<br>
<%
mD.MoveNext
loop
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

No members online now.

Forum statistics

Threads
474,143
Messages
2,570,822
Members
47,368
Latest member
michaelsmithh

Latest Threads

Top