I have two variables:
1) order_id_name
Content:
"AU123 TAB Mustermann CR
AU124 TAB Musterfrau"
2) order_id_tracking
Content:
"AU123 TAB 12345 CR
AU124 TAB 6789"
How can I merge (or join) both variables to one and identify the right order with the order ID as identifyer?
Example: new_variable
Content:
AU123 TAB Mustermann TAB 12345 CR
AU124 TAB Musterfrau TAB 6789
Ii already startet to do a repeat loop
Code: Select all
set the itemDel to tab
repeat with AU = 1 to the number of lines of order_id_name
put item 1 of line AU of order_id_name after new_variable
repeat with track_id = 1 to the number of lines of order_id_tracking
if item 1 of line track_id of order_id_tracking is item 1 of line AU of order_id_name then
put tab & item 1 of line track_id of order_id_tracking & CR after new_variable
else
end if
Any other Ideas how to merge/join both variables?
Thanks
Stef