473,399 Members | 3,919 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,399 software developers and data experts.

Automatically alert

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?

Mar 22 '06 #1
1 1335
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)
Mar 22 '06 #2

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

3
by: Sam | last post by:
My db looks after the hiring and lending of equipment, the form which books out equipment hired prints a signout sheet and automatically inserts an appointment into outlook advising the operator on...
5
by: Fabrice Cavarretta | last post by:
I would be very curious to record automatically the presence on the net (links!) for all the contacts in my address book. I believe that can be programmed easily in VB by calling the Google API,...
2
by: vna | last post by:
Hello Everyone, Please send me the code for a system to automatically shutting down the system by specifying the time.Can use either C# or ASP.Net. Please help me asap. Regards, Vna
3
by: umdsasha | last post by:
So, basically, I need to detect whether an alert window was thrown. I can't find where it's thrown from but I need to disable a button only if there were no alert windows thrown. Any ideas? ...
1
by: gellert | last post by:
Hello guys, I have a Datagrid and .AllowPaging=true.... it is working well but I'd like to page automatically after some seconds. So the whole solution is a screen in our company showing some...
4
by: R.Manikandan | last post by:
Hi In my code, one string variable is subjected to contain more amount of characters. If it cross certain limit, the string content in the varabile is automatically getting truncated and i am...
1
by: Andy Fish | last post by:
hi, in the body onload event for a web page I am calling a javascript function which displays an alert message one user has reported that the alert appears but then is automatically closed...
1
by: rakejava | last post by:
Hi, I need to close the alert box after dispalying it for about 5 seconds without user interaction. can anyone have answer on this. Thanks, Rake.
24
by: Jeremy J Starcher | last post by:
While reading c.l.j, I've noticed that some people prefer and indeed even recommend the use of "window.alert()" over "alert()". I can't find any technical reason to make this distinction, and...
0
by: Charles Arthur | last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
0
by: emmanuelkatto | last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud. Please let me know. Thanks! Emmanuel
1
by: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
0
by: Hystou | last post by:
There are some requirements for setting up RAID: 1. The motherboard and BIOS support RAID configuration. 2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...
0
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can...
0
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven...
0
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows...
0
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each...
0
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome a new...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.