M
Markus
Hallo I hope some one can help me i have a hyperlink that i want to use to
query a record in a DB. Can some one tell me what im doing wrong it does not
query the Request_ID 1
This is the hyperlink example : http://spi.com/acr/audit.asp?Request_ID=1
<%
Dim rs, strPfadDB, SQL, CDSID1
strPfadDB = "Provider=Microsoft.Jet.OLEDB.4.0;Data Source=" & _
Server.MapPath("\fpdb\request_table.mdb") & _
";Mode=ReadWrite;Persist Security Info=False"
SQL ="SELECT * " & _
"FROM Audit " & _
"WHERE (Request_ID = '::Request_ID::')"
set rs = Server.CreateObject("ADODB.Recordset")
rs.Open SQL, strPfadDB, 1, 2
CDSID1 = (rs("CDS_ID"))
rs.Close
set rs = nothing
%>
query a record in a DB. Can some one tell me what im doing wrong it does not
query the Request_ID 1
This is the hyperlink example : http://spi.com/acr/audit.asp?Request_ID=1
<%
Dim rs, strPfadDB, SQL, CDSID1
strPfadDB = "Provider=Microsoft.Jet.OLEDB.4.0;Data Source=" & _
Server.MapPath("\fpdb\request_table.mdb") & _
";Mode=ReadWrite;Persist Security Info=False"
SQL ="SELECT * " & _
"FROM Audit " & _
"WHERE (Request_ID = '::Request_ID::')"
set rs = Server.CreateObject("ADODB.Recordset")
rs.Open SQL, strPfadDB, 1, 2
CDSID1 = (rs("CDS_ID"))
rs.Close
set rs = nothing
%>