I am trying to convert some programs in FP to ASP Classic (server without FP-extensions).
For this FP-code, I do not know how to convert:
fp_sQry="SELECT * FROM ACTIVITY18 WHERE (ActId=::ActId::)"
My migration code
<%
'Dim Conn, rs, sql
Set Conn = Server.CreateObject("ADODB.Connection")
Conn.Open "DRIVER={Microsoft Access Driver (*.mdb)}; DBQ=" & Server.MapPath("_myweb/database.mdb")
Set rs = Server.CreateObject("ADODB.Recordset")
sql = "SELECT * FROM ACTIVITY18 WHERE ActId=VARIABLE"
rs.Open sql, Conn
%>
This VARIABLE comes from / is determined in a previous option-selection-module where value (also converted from FP) is defined as follows
<option style="font-family: Arial, Helvetica, sans-serif;color:#0000FF;" value="<%=rs("ActId")%>"><%=rs("Actcat")&" "&rs("ActDate")&" : "&rs("Description")%></p>
Thanks for help.
For this FP-code, I do not know how to convert:
fp_sQry="SELECT * FROM ACTIVITY18 WHERE (ActId=::ActId::)"
My migration code
<%
'Dim Conn, rs, sql
Set Conn = Server.CreateObject("ADODB.Connection")
Conn.Open "DRIVER={Microsoft Access Driver (*.mdb)}; DBQ=" & Server.MapPath("_myweb/database.mdb")
Set rs = Server.CreateObject("ADODB.Recordset")
sql = "SELECT * FROM ACTIVITY18 WHERE ActId=VARIABLE"
rs.Open sql, Conn
%>
This VARIABLE comes from / is determined in a previous option-selection-module where value (also converted from FP) is defined as follows
<option style="font-family: Arial, Helvetica, sans-serif;color:#0000FF;" value="<%=rs("ActId")%>"><%=rs("Actcat")&" "&rs("ActDate")&" : "&rs("Description")%></p>
Thanks for help.