aspvbnetnerd
Programmer
I get the error message "Cannot use parentheses when calling a Sub"
I only get this message when using "Array(valu)" in my sql
My code
link to my databaseconnection code
What shall I do to fix this?
George
I only get this message when using "Array(valu)" in my sql
My code
Code:
<!--#include file="databaseconnection.asp" -->
<%
Dim Connection, Recordset, frmInformation, frmText
frmText = Request.Form("text")
frmPid = Request.Form("pid")
Open()
[b]Value("SELECT TOP 1 * FROM tblItemInfo where pid={0}", Array(frmpid))[/b]
Close()
Response.Write(frmPid)
%>
link to my databaseconnection code
What shall I do to fix this?
George