Hii guys,
I am doing a lookup & replacing the new value on the key value(say column A) after the lookup..
If lookup fail it will insert NULL value in the place of column A....
There is a transformer after the lookup which has constraint
IsNull(column A) .
I want to catch those values which fail the lookup without having the reject link ....It should be caught in the transformer by the above constaint..
Can anyone help......??
Catch a null in file & put spaces
Moderators: chulett, rschirm, roy
-
- Participant
- Posts: 42
- Joined: Tue Jan 18, 2005 5:48 am
-
- Charter Member
- Posts: 130
- Joined: Mon Sep 06, 2004 3:05 am
- Location: Dubai,UAE
Hi,
In the LookUp set the property If Not Found - Continue
Then in the transformer you can check for the value of column A in the derivation as
If IsNull(lnkLookUp.ColumnA) Then " " Else lnkLookUp.ColumnA
Hope this helps.
In the LookUp set the property If Not Found - Continue
Then in the transformer you can check for the value of column A in the derivation as
If IsNull(lnkLookUp.ColumnA) Then " " Else lnkLookUp.ColumnA
Hope this helps.
Warm Regards,
Amruta Bandekar
<b>If A equals success, then the formula is: A = X + Y + Z, X is work. Y is play. Z is keep your mouth shut. </b>
--Albert Einstein
Amruta Bandekar
<b>If A equals success, then the formula is: A = X + Y + Z, X is work. Y is play. Z is keep your mouth shut. </b>
--Albert Einstein
-
- Participant
- Posts: 24
- Joined: Fri Oct 01, 2004 1:43 pm
- Location: USA
Another method is shown below:
Code: Select all
NullToEmpty(lnkLookUp.ColumnA)