i have a uniqueZip table which has a set of unique rows with a certain code, now my goal is to update the Route tbl to have the match code by comparing the rows from one table to the other.
This is my sql statement however this does not change any rows even though there is matching data. Can anyone help me. i attached a image of the tables and fields.
UPDATE [Route tbl], UniqueZips
SET [Route tbl].CODE = [UniqueZips]!
This is my sql statement however this does not change any rows even though there is matching data. Can anyone help me. i attached a image of the tables and fields.
UPDATE [Route tbl], UniqueZips
SET [Route tbl].CODE = [UniqueZips]!
Code:
WHERE ((([Route tbl].CODE)=(StrComp([Route tbl]![WINDOW 1] ,[UniqueZips]![WINDOW 1]) & StrComp([Route tbl]![WINDOW 2] ,[UniqueZips]![WINDOW 2]) & StrComp([Route tbl]![WINDOW 3] ,[UniqueZips]![WINDOW 3]) & StrComp([Route tbl]![WINDOW 4] ,[UniqueZips]![WINDOW 4]) & StrComp([Route tbl]![WINDOW 5] ,[UniqueZips]![WINDOW 5]))));