Ich m�chte mich f�r die Super Hilfe bedanken.
Ich habe es jetzt selber heraus gefunden.
F�r alle die es noch nicht wissen. Mit dem folgenden Code kann man Eintr�ge
l�schen:
<%
Dim RS, MyConn, SQL, SQL2
Set MyConn=Server.CreateObject("ADODB.Connection")
MyConn.Open "DM90_aspfreak"
SQL = "DELETE FROM Gaestebuch WHERE ID IN("&Request.QueryString("ID")&")"
'grab the value(s) selected from the checkboxes
SQL2 = "DELETE FROM Gaestebuch WHERE ID IN("&Request.QueryString("ID")&")"
Set RS = MyConn.Execute(SQL)
Set RS = MyConn.Execute(SQL2)
'both tables use ID as the key field and both corresponding records are
deleted
MyConn.Close
Set MyConn = Nothing
%>
Cu
Erik Fichtner
| 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