Appreciate the help, multi-tasking on a Monday morning and did miss including helpful information.
SQL as is:
Code:
UPDATE Expected
SET Expected.Family_Name=family.family_name
FROM Expected INNER JOIN Family ON left(Expected.Model, instr(Expected.Model,"/")-1)=family.model;
Error:
Syntax Error (missing operator) in query expression 'Family.Family_Name FROM Expected INNER Join Family ON Left(Expected.[MKT Model], InStr(Expected.[MKT Model],"/")-1=Family.Model'.
Family Table |
MODEL |
FAMILY_NAME |
ORG100 |
Orange Hose |
ORG050 |
Orange Hose |
BLU050 |
Blue Hose |
|
|
Expected Table |
MKT Model |
FAMILY_NAME |
ORG100 / 100mm Orange Hose |
Orange Hose |
ORG050 / 50mm Orange Hose |
Orange Hose |
BLU050 / 50mm Blue Hose |
Blue Hose |
Does this help setup what I'm trying to accomplish?
Again, thanks for your patience and help.