on 12-06-2008 10:58 AM
I need to create a value mapping like this
A --> 1
B --> 2
C --> 2
D --> 2
E --> 3
So that if the source field has 'A' the value mapping returns 1 and if my source field has 'B' or 'C' or 'D' it should return 2.
When I create this in value mapping table, it doesnu2019t accept and gives an error saying it is a duplicate mapping entry.
I know that value map tables are mean to hold two way data mappings and hence doesnt allow what I'm trying to do here, but still is there a standard way to do this ?
I dont want to use FixValues function here since this value map table would be used by other message mappings too and hence if I go for a FixValues function I would have to create it in every mapping (hence not a good solution).
I also want to avoid non standard techniques like entering unique values in the value mapping table and later do a string function in the message mapping to cut out the actual value as mentioned by grube in some blog i read.
Double click the Value for Source and enter the values targets.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
83 | |
23 | |
11 | |
9 | |
8 | |
5 | |
5 | |
5 | |
5 | |
4 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.