Skip to main content
cancel
Showing results for 
Search instead for 
Did you mean: 
Tatynout
Contributor III
Contributor III

Applymap function issue

Hi,

i have an issue with the applymap function. 

My mapping table looks like this:

data test1.PNG

and the table in which i am applying the Applymap() function looks like this:

data test2.PNG

In my mapping table, i have the Product ID TA09 twice one with a space at the beggining and another one without a space. The isue i have now is that when i am trying to retrieve the product name from my mapping table with that specific code, it maps the product ID with the space eventhough the Product ID found in my table is without space.

Is there please an explanation to that?

Thanks for you reply. 

 

Tatiana

Labels (1)
1 Solution

Accepted Solutions
Frank_Hartmann
Master II
Master II

you need to insert this at the beginning of your script:

set verbatim = 1;

 

Normally QV does not take into account leading spaces.

But with above statement QV will take into account leading spaces!

View solution in original post

2 Replies
Frank_Hartmann
Master II
Master II

you need to insert this at the beginning of your script:

set verbatim = 1;

 

Normally QV does not take into account leading spaces.

But with above statement QV will take into account leading spaces!

Tatynout
Contributor III
Contributor III
Author

Thank you very much it works perfectly! 🙂