Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations TouchToneTommy on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Alert based on text field criteria

Status
Not open for further replies.

redbay

Technical User
Oct 13, 2003
145
GB
i have an action form that has to be closed by a specified date, i would like an alert, message or warning to be activated if the action hasnt been closed by that date, is there a way of doing this
 
When you say you want an alert to happen if an action is passed its expire date, do you want this done by the database or by a user visiting a page?

[Peace][Pipe]
 
either through the user visiting the page or via an email notification but i think thats to difficult!
 
Take a recordset of all the entries where the expirory date has passed and then use a Show if recordset is not empty behaviour to display an alert if a record exists.

Cheech

[Peace][Pipe]
 
Untested

Code:
<%
if not rsWhatever.eof and rswhatever.bof then
%>
<script language=javascript>
alert("outstanding items")
</script>
<%end if%>

Cheech

[Peace][Pipe]
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top