danke f�r deine antwort aber das muss auch so gehen wie ich angefangen hab.
und mit wenn du meinst mit SQL un ich nach ID sortier ist ja wieder
falschrun. ich kann ja wohl kaum nach -ID sortieren. naja, also bitte hilf mal bei
meinem problem, so wie ich es schon heir hab. danke

mfg

Markus

> Mache das doch lieber mit SQL und order by ...  desc
> 
> Gruss
> 
> Roman Pittroff
> Consulting
> Bangkok, Thailand
> 
> >-----Original Message-----
> >From: Markus Schutz [mailto:[EMAIL PROTECTED]] 
> >Sent: Wednesday, March 13, 2002 3:03 AM
> >To: ASP Diskussionsliste fuer Anfaenger
> >Subject: [aspdebeginners] g�stebuch umdrehen
> >
> >
> >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
> >
> 
> 
> | 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
> 

-- 
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