Hi all, I have the following problem:
Query1
Code Trimmed Code
AB123 AB
AC123 AC
Table2
AB Europe
AC USA
AD Japan
Desired Output
Code Trimmed Code Region
AB123 AB Europe
AC123 AC USA
I need to join query1 and table2, but the key is a calculated field,
the field "trimmed code" which retrieves the first 2 characters of the
field "code". How can I do a join on a calculated field?
The only solution I can think of is to convert query1 into a table,
and take it from there, but it's clearly not an efficient solution.
Any help would be greatly appreciated!
PS I know this structure of the data sucks: I didn't decide it , I'm
just stuck with it :(