Do I need to use a JOIN statement
Yes, perhaps like this:
UPDATE Table1 INNER JOIN Table2 ON Right(Table1.FieldZ,7) = Right(Table2.FieldZ,7)
SET Table1.FieldX = TRUE
WHERE Left(Table2.FieldY,3) = '000';
Hope This Helps, PH.
Want to get great answers to your Tek-Tips questions? Have a look at FAQ219-2884 or FAQ222-2244
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.