Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations gkittelson on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

UPDATE Query doesnot work

Status
Not open for further replies.

rmuller

Programmer
Nov 30, 2001
14
NL
What's wrong with (Access2002):
(FeatureClassId is a column of ProductClasses)

UPDATE ProductClasses
SET FeatureClassId=T.FeatureClassId
FROM tmpProducts AS T
WHERE ProductClasses.ClassId=T.ClassId;

It is a very basic SQL-statement but Access gives a 'missing operator' error. And there is NO (!!) syntax information available in Access2002.
So, please help!

Ronald
 
Hi Ronald,

How about this:
UPDATE productclasses INNER JOIN tmpproducts ON productclasses.classid = tmpproducts.classid SET tmpproducts.classid = tmpproducts.classid; Hope this is ok. If not, just let me know.

Nick (Everton Rool OK!)
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top