Check this out, I use this to display the last 6 updates, but 9/9/2002 is showing up before 9/10/2002 or 9/12/2002 because of the 9 being higher than the 1 of the 10 or 12, any Ideas on how to get round this.
Thanks
Nick
<%
dim cnn2,rst2
set cnn2 = Server.CreateObject("ADODB.Connection"
cnn2.Open "driver={Microsoft Access Driver (*.mdb)};;DBQ=E:/writedatabase/Members.mdb;"
SQL = "SELECT Top 6 * from Members Order by update_date DESC"
Set rs2 = cnn2.execute(SQL)
%> <TABLE BORDER="2" BORDERCOLOR="#000000" BORDERCOLORLIGHT="#CCCCCC" BORDERCOLORDARK="#000000" BGCOLOR="#0033CC">
<%
While rs2.EOF = false
%> <TR> <TD><FONT SIZE="3"><%=rs2.fields("UserID"
%></FONT></TD><TD><FONT SIZE="3"><%=rs2.fields("update_date"
%></FONT></TD></TR>
<%
rs2.MoveNext
WEND
%> </TABLE><%
rs2.Close()
set rs2 = nothing
cnn2.Close()
set cnn2 = nothing
%>
Thanks
Nick
<%
dim cnn2,rst2
set cnn2 = Server.CreateObject("ADODB.Connection"
cnn2.Open "driver={Microsoft Access Driver (*.mdb)};;DBQ=E:/writedatabase/Members.mdb;"
SQL = "SELECT Top 6 * from Members Order by update_date DESC"
Set rs2 = cnn2.execute(SQL)
%> <TABLE BORDER="2" BORDERCOLOR="#000000" BORDERCOLORLIGHT="#CCCCCC" BORDERCOLORDARK="#000000" BGCOLOR="#0033CC">
<%
While rs2.EOF = false
%> <TR> <TD><FONT SIZE="3"><%=rs2.fields("UserID"
<%
rs2.MoveNext
WEND
%> </TABLE><%
rs2.Close()
set rs2 = nothing
cnn2.Close()
set cnn2 = nothing
%>