hello,
What I want to do is if datetoday is between the sdate and edate then set a variableCode:datetoday=Date() sdate=rs("Startdate") edate=rs("EndDate")
here is the code
but its saying setflag="2"Code:If datetoday >= sdate and datetoday <= edate then setflag="1" else setflag="2" End if
in the table the value of sdate="1/2/2010" and edate="4/11/2010"
any idea what i am doing wrong
todd



LinkBack URL
About LinkBacks
Reply With Quote

Bookmarks