Hi all,
How can I update a table using wildcard? I already tried to create a column with a substring formula
dt << New Column( "Code Ref", Formula (Substr(:Code, 1, 4)) );
TableA
Code | Name | Age |
ABCD456 | Ann | 12 |
ABCD123 | Roy | 16 |
ABCD678 | Jean | 11 |
TableB
Code | Name | Age |
ABCD543 | John | 12 |
FGR263 | Mike | 13 |
ABCD975 | Rose | 8 |
After table update:
Code | Name | Age |
ABCD456 | Ann | 12 |
ABCD123 | Roy | 16 |
ABCD678 | Jean | 11 |
ABCD543 | John | 12 |
ABCD975 | Rose | 8 |
But I cannot use Code Ref as matching columns when I use the UPDATE table because it results into blank columns. How can I use wildcards to update table in matching columns?