Hi,
I am constructing a website for a bike shop. I am using dreamweaver and an access database to create it.
I have made a query where two criteria are entered to get results. These are : Category and price(RRP).
Here is the SQL:
"SELECT Category, Description, Image, ProductRef, RRP, SalePrice FROM BOM WHERE Category = '" + Replace(Recordset1__MMColParam, "'", "''") + "' AND RRP < '" + Replace(Recordset1__MMColParam2, "'", "''") + "'"
I get the following error:
Microsoft JET Database Engine error '80040e07'
Data type mismatch in criteria expression.
First of all is my code correct?
What does this error mean?
When I use simply one search criteria i have no problems. it only occurs with the two search criteria query.
any help greatly appreciated, pulling out hair!