Howdy, Stranger!

It looks like you're new here. If you want to get involved, click one of these buttons!

Categories

date question

I am doing some asp work for a website and i have this field called Date (from ms sql database) that has values stored in it like "mm-dd-yy". Now i want to display only those records where date is equal too or is two weeks from the current date

right now i only do it till EOF
here is what i have right now
which is just currently giving me all the records in the table

<%do until ObjRS.eof%>




<%=ObjRS("Date")%>



">
<%=ObjRS("Year")%>
<%=ObjRS("Make")%>
<%=ObjRS("Model")%>

<%
ObjRS.MoveNext
i = i + 1
%>
<%loop%>

Sign In or Register to comment.