N
Neal Ostrander
I am just learning to use queries and the book I am learning from ask for an
update query to increase the list price of all products for 'supplier A' by
3.25. I wrote the following update query but it give a 'type mismatch in the
critera expresion' error.
UPDATE Products
SET [List Price] = [List Price] + 3.25
WHERE [Supplier IDs] = 'Supplier A'
So I thought I would try a select query to find how many products 'Supplier
A' has and the list price. This is the query I wrote.
SELECT [Supplier IDs], [List Price]
FROM Products
WHERE [Supplier IDs] = 'Supplier A'
This throws a 'multi-valued field [Supplier IDs] cannot be used in a WHERE
or HAVING clause' error. I have never delt with multi-valued fields before.
Is there a resource where I can learn about them.
And could I get an explination of why the update query doesn't work as
written.
Thanks in advance for any help.
Neal
update query to increase the list price of all products for 'supplier A' by
3.25. I wrote the following update query but it give a 'type mismatch in the
critera expresion' error.
UPDATE Products
SET [List Price] = [List Price] + 3.25
WHERE [Supplier IDs] = 'Supplier A'
So I thought I would try a select query to find how many products 'Supplier
A' has and the list price. This is the query I wrote.
SELECT [Supplier IDs], [List Price]
FROM Products
WHERE [Supplier IDs] = 'Supplier A'
This throws a 'multi-valued field [Supplier IDs] cannot be used in a WHERE
or HAVING clause' error. I have never delt with multi-valued fields before.
Is there a resource where I can learn about them.
And could I get an explination of why the update query doesn't work as
written.
Thanks in advance for any help.
Neal