so hallo erstmal,

ich hab mir ein g�stebuch gemacht und will jetzt die eintr�ge so anzeigen,
dass der neueste eintrag oben angezeigt wird. als ausgang hab ich folgendes:

<html>
<head>
<title>G�stebuch</title>


</head>
<body bgcolor="#ffffff" text="#000000" link="#658CB2" vlink="#658CB2"
alink="#658CB2" topmargin="30">

<!--#include file="guestbook_form.htm" -->

<% 

Dim adoCon      
Dim rsGuestbook   
Dim strSQL          


Set adoCon = Server.CreateObject("ADODB.Connection") 
adoCon.Open "DRIVER={Microsoft Access Driver (*.mdb)}; DBQ=" &
Server.MapPath("guestbook.mdb")
Set rsGuestbook = Server.CreateObject("ADODB.Recordset")
strSQL = "SELECT tblComments.Name, tblComments.Comments, tblComments.email,
tblComments.url, tblComments.icq FROM tblComments;"
rsGuestbook.Open strSQL, adoCon 

Do While not rsGuestbook.EOF

     Response.Write (rsGuestbook("Comments"))

     rsGuestbook.MoveNext

Loop

'Reset server objects
rsGuestbook.Close
Set rsGuestbook = Nothing
Set adoCon = Nothing
%>

</body>
</html>

das zeigt jetzt alles so an dass der neueste eintrag unten ist. jetzt will
ichs ja umdrehen. warum geht dann folgendes nicht? - >>>

<html>
<head>
<title>G�stebuch</title>


</head>
<body bgcolor="#ffffff" text="#000000" link="#658CB2" vlink="#658CB2"
alink="#658CB2" topmargin="30">

<!--#include file="guestbook_form.htm" -->

<% 

Dim adoCon      
Dim rsGuestbook   
Dim strSQL          


Set adoCon = Server.CreateObject("ADODB.Connection") 
adoCon.Open "DRIVER={Microsoft Access Driver (*.mdb)}; DBQ=" &
Server.MapPath("guestbook.mdb")
Set rsGuestbook = Server.CreateObject("ADODB.Recordset")
strSQL = "SELECT tblComments.Name, tblComments.Comments, tblComments.email,
tblComments.url, tblComments.icq FROM tblComments;"
rsGuestbook.Open strSQL, adoCon 

rsGuestbook.MoveLast

Do While not rsGuestbook.BOF

     Response.Write (rsGuestbook("Comments"))

     rsGuestbook.MovePrivious

Loop

'Reset server objects
rsGuestbook.Close
Set rsGuestbook = Nothing
Set adoCon = Nothing
%>

</body>
</html>


kann mir wer helfen????? - danke im voraus.


mfg

Markus Schutz

-- 
GMX - Die Kommunikationsplattform im Internet.
http://www.gmx.net


| Oft Gefragtes: http://www.aspgerman.com/aspgerman/faq/
| [aspdebeginners] als [email protected] subscribed
| http://www.aspgerman.com/archiv/aspdebeginners/ = Listenarchiv
| Sie knnen sich unter folgender URL an- und abmelden:
| http://www.aspgerman.com/aspgerman/listen/anmelden/aspdebeginners.asp

Antwort per Email an