I have 2 tables which I would like to join. However, one table has a 7 character field which when parsed, can be joined to 3 fields in the other table. I would prefer not to actually parse the field out into separate fields in the table design if possible.
I am thinking something like this:
When I try this, I get "Syntax Error in Join Expression". I created just a simple select statement using the same join and I get results.
Thanks in advance for the help.
I am thinking something like this:
Code:
UPDATE tblBrioData INNER JOIN tblMaddData ON (tblBrioData.Region = Left(tblMaddData.JRNLID,2)) AND (tblBrioData.District = Mid(tblMaddData.JRNLID,3,2) SET tblBrioData.MADDJRNLID = [tblMaddData]![JRNLID];
When I try this, I get "Syntax Error in Join Expression". I created just a simple select statement using the same join and I get results.
Thanks in advance for the help.