I have been looking at this to long. Must be something simple I am doing wrong. Can anyone tell me why this is not returning a value.
BillStatus = SetStatus()
<%
'----------------------------- FUNCTION TO SET STATUS ACCORDING TO DATE ----------------------------------
Function SetStatus()
IF Date > "1/1/2004" AND Date < "4/1/2004" Then
BillStatus = "H"
else
BillStatus = "N"
End if
End Function
%>
I know it calls the function because if I do a response.write BillStatus it will show output something.
Thanks in advance
AJ
Do you feel lucky?
BillStatus = SetStatus()
<%
'----------------------------- FUNCTION TO SET STATUS ACCORDING TO DATE ----------------------------------
Function SetStatus()
IF Date > "1/1/2004" AND Date < "4/1/2004" Then
BillStatus = "H"
else
BillStatus = "N"
End if
End Function
%>
I know it calls the function because if I do a response.write BillStatus it will show output something.
Thanks in advance
AJ
Do you feel lucky?