SvAct should be for example : 10
<%
SvAct=(Application("UPDId"))
%>
(a response.wite test from SvAct also gives 10)
However, nothing is selected.
ActId should be also 10
Is the WHERE clause well-coded ?
<%
Dim Conn, rs, sql
Set Conn = Server.CreateObject("ADODB.Connection")
Conn.Open "DRIVER={Microsoft Access Driver (*.mdb)}; DBQ=" & Server.MapPath("_private/ABCD.mdb")
Set rs = Server.CreateObject("ADODB.Recordset")
sql = "SELECT * FROM ACTIVITY18 WHERE ActId=" & SVact
rs.Open sql, Conn
%>
Thanks.
<%
SvAct=(Application("UPDId"))
%>
(a response.wite test from SvAct also gives 10)
However, nothing is selected.
ActId should be also 10
Is the WHERE clause well-coded ?
<%
Dim Conn, rs, sql
Set Conn = Server.CreateObject("ADODB.Connection")
Conn.Open "DRIVER={Microsoft Access Driver (*.mdb)}; DBQ=" & Server.MapPath("_private/ABCD.mdb")
Set rs = Server.CreateObject("ADODB.Recordset")
sql = "SELECT * FROM ACTIVITY18 WHERE ActId=" & SVact
rs.Open sql, Conn
%>
Thanks.