Error Type:
Microsoft VBScript runtime (0x800A01A8)
Object required: ''
/hca-shop/search.asp, line 100
Here is the code I use around line 100 ( same as in the book page 155)
<%
sqlString = "SELECT product_id, product_picture, product_name,
product_briefDesc " &_
"FROM Products " &_
"WHERE product_status = 1" &_
"AND ( product_name LIKE '%" & searchFor & "%' " &_
"OR product_briefDesc LIKE '%" & searchFor & "%') " &_
"ORDER BY product_name"
SET RS = Con.Execute( sqlString )
IF NOT RS.EOF AND searchFor <> "" THEN
%>
Hope someone out there will give me the clue to get on ...!
Thanks a lot
Otto -
Copenhagen -Denmark
In any event, the ecommerce site now works with some minor modifications.
Dave H