Hi all,
I'm getting this error:
Desc : [Microsoft][ODBC Microsoft Access Driver] Too few parameters. Expected 1.
SQL : SELECT a.idProduct,a.description,a.descriptionLong, a.listPrice,a.price,a.smallImageUrl,a.stock, a.fileName,a.noShipCharge, (SELECT c.categoryDesc FROM Categories_Products b, Categories c WHERE b.idCategory = c.idCategory AND c.idProduct = a.idProduct) AS catDesc FROM products a WHERE a.active = -1 AND a.homePage = -1 ORDER BY a.idProduct ASC
Please tell me where have I gone wrong.
I looked up the ERROR and found that, typically, it was caused by calling wrong fieldname, and I did check for any mistype of anything else. Found nothing that I know how to fix the ERROR.
Thanks.
I'm getting this error:
Desc : [Microsoft][ODBC Microsoft Access Driver] Too few parameters. Expected 1.
SQL : SELECT a.idProduct,a.description,a.descriptionLong, a.listPrice,a.price,a.smallImageUrl,a.stock, a.fileName,a.noShipCharge, (SELECT c.categoryDesc FROM Categories_Products b, Categories c WHERE b.idCategory = c.idCategory AND c.idProduct = a.idProduct) AS catDesc FROM products a WHERE a.active = -1 AND a.homePage = -1 ORDER BY a.idProduct ASC
Please tell me where have I gone wrong.
I looked up the ERROR and found that, typically, it was caused by calling wrong fieldname, and I did check for any mistype of anything else. Found nothing that I know how to fix the ERROR.
Thanks.