okay cool.
I am going with a javascript function with this, but my syntax is still wrong in comparing the dates:
<%
' IF TODAYS DATE IS > PROJECTED DATE OR NO RECORD RETURNED>>>>DISPLAY POPUP REMINDER
if Date() > (projectedRS.Fields.Item("
load browser popup
return submitForm()
else
if projectedRS.EOF or projectedRS.BOF then
'load browser popup
return submitForm()
else
'do nothing stay here
end if
end if
%>
AND my function is as:
function submitForm(){
var newwindow;
var objForm = document.forms['form1'];
newwindow=window.open('rem
objForm.action = "newwindow"
return true;
}
Can't get to my function yet, because of the dates problem...any ideas
UPED THE POINTS
Main Topics
Browse All Topics





by: rohanbairat3Posted on 2005-05-10 at 11:33:53ID: 13971215
u dont need an A HREF ..cause that would just create a hyperlink
,'reminder ','scrollb ars=yes,wi dth=400,he ight=400') ;
instead u can write something like
<%
'ASPCODE
%>
<script>
window.open('reminder.asp'
</script>
<%
'ASP COde
%>