IIS ASP - Automatically alert

This is Interesting: Free IT Magazines  
Home > Archive > IIS ASP > March 2006 > Automatically alert





You are viewing an archived Text-only version of the thread. To view this thread in it's original format and/or if you want to reply to this thread please [click here]

Author Automatically alert
Angkor

2006-03-22, 2:48 am

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?

Evertjan.

2006-03-25, 11:58 am

Xref: TK2MSFTNGP08.phx.gbl microsoft.public.inetserver.asp.general:303498

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

--
Evertjan.
The Netherlands.
(Please change the x'es to dots in my emailaddress)
Sponsored Links






Free braindumps | Software forum | Database administration forum

Copyright 2003 - 2008 webservertalk.com