From this link, the user uses the key in map1 to compare with the key in map2 to obtain the corresponding value in map2.
Is there a way to compare the key or value in map1 with the value in map2 to obtain the corresponding key in map2? The reason why I need to do this way is that in map2, some keys will have the same value.
You can take all keys of Map2 (TMap.Keys) and iterate over them with a foreach loop with break. In the loop body, Find (TMap.Find) with the current key a value and compare it with your value of Map1. If they are the same, store the key in a variable and break the loop. now you know at which key of Map2, the value of Map1.key exists, too.