M
mettá
I can't get this working, I have tried to adapt a bit of asp script that
shows db results and use it to delete specific records (via a form on
another page)
spage is text field
idp is auto number record id
<%Dim DSN_Name
DSN_Name = Application("dbpages_ConnectionString")
set Connection = Server.CreateObject("ADODB.Connection")
Connection.Open DSN_Name
Search=Request("Description")
Set RSCat = Server.CreateObject("ADODB.RecordSet")
SQL = "DELETE DISTINCT from tPages WHERE idp=::idp:: and spage='::spage::'"
RSCat.Open SQL, Connection
RSCat.Close
%>
I would really appreciate some guidance as I do not really know what I am
doing!
Thanks
M
shows db results and use it to delete specific records (via a form on
another page)
spage is text field
idp is auto number record id
<%Dim DSN_Name
DSN_Name = Application("dbpages_ConnectionString")
set Connection = Server.CreateObject("ADODB.Connection")
Connection.Open DSN_Name
Search=Request("Description")
Set RSCat = Server.CreateObject("ADODB.RecordSet")
SQL = "DELETE DISTINCT from tPages WHERE idp=::idp:: and spage='::spage::'"
RSCat.Open SQL, Connection
RSCat.Close
%>
I would really appreciate some guidance as I do not really know what I am
doing!
Thanks
M