I
isaac2004
hi am getting this error about a wrong field name in my database and it
all seems right to me
<%@ Language=VBScript %>
<% Option Explicit %>
<!--#include file="DatabaseConnect.asp"-->
<!--#include virtual="06winter/levini/database/adovbs.inc"-->
<html>
<head><title>Product Page</title></head>
<table
<!-- Header SSI starts here-->
<!--#include file="header.html"-->
<!-- Header SSI ends here-->
<!-- Menu SSI starts here-->
<!--#include file="menu.asp"-->
<!-- Menu SSI ends here-->
<!-- Author SSI begins here-->
<!--#include file="ListAuthors.asp"-->
<!-- Author SSI ends here-->
<% Dim strSQL, objRS, intBookID, strItemType
'sql statement for individual books
strSQL = "SELECT tblBookDescription.ISBN,
tblBookDescription.strTitle, tblBookDescription.strDescription,
tblBookDescription.strPublisher, tblBookDescription.decPrice " & _
"FROM tblBookDescription; "
response.write("strSQL = " & strSQL)
Set objRS = Server.CreateObject("ADODB.Recordset")
---------------------------------------------------Too few parameters.
Expected 1.
objRS.open strSQL, objConn
-----------------------------------------------------------------
'response.write("strSQL = " & strSQL)
objRS.close
Set objRS = nothing
objConn.close
Set objRS = nothing
%>
<!--#include file="footer.html"-->
<!--Menu SSI ends here-->
</body></html>
that is all of the page that loads up, i got the SQL statement from
Access which is right and the syntax looks right, can somebody help me
please. thank you
all seems right to me
<%@ Language=VBScript %>
<% Option Explicit %>
<!--#include file="DatabaseConnect.asp"-->
<!--#include virtual="06winter/levini/database/adovbs.inc"-->
<html>
<head><title>Product Page</title></head>
<table
<!-- Header SSI starts here-->
<!--#include file="header.html"-->
<!-- Header SSI ends here-->
<!-- Menu SSI starts here-->
<!--#include file="menu.asp"-->
<!-- Menu SSI ends here-->
<!-- Author SSI begins here-->
<!--#include file="ListAuthors.asp"-->
<!-- Author SSI ends here-->
<% Dim strSQL, objRS, intBookID, strItemType
'sql statement for individual books
strSQL = "SELECT tblBookDescription.ISBN,
tblBookDescription.strTitle, tblBookDescription.strDescription,
tblBookDescription.strPublisher, tblBookDescription.decPrice " & _
"FROM tblBookDescription; "
response.write("strSQL = " & strSQL)
Set objRS = Server.CreateObject("ADODB.Recordset")
---------------------------------------------------Too few parameters.
Expected 1.
objRS.open strSQL, objConn
-----------------------------------------------------------------
'response.write("strSQL = " & strSQL)
objRS.close
Set objRS = nothing
objConn.close
Set objRS = nothing
%>
<!--#include file="footer.html"-->
<!--Menu SSI ends here-->
</body></html>
that is all of the page that loads up, i got the SQL statement from
Access which is right and the syntax looks right, can somebody help me
please. thank you