cancel
Showing results for 
Search instead for 
Did you mean: 

UDF error

Former Member
0 Kudos

Hi,

My Udf is as below

if(a.equals("Y")&b.equals("4000")|a.equals("Y")&b.equals("000"))

{

return "D0";

}

else

if(a.equals("X")&b.equals("6900")|a.equals("X")&b.equals("004"))

{

return "I0";

}

else{

return c;

}

Based on two fields a & b i need to populate c.

this is the code. Here C comes in two segments. (Where i one segment it's blank and in the second segment it has value).

but the value in second segment is copied in first one also instead of balnk. Can you help me ?

Accepted Solutions (0)

Answers (1)

Answers (1)

Former Member
0 Kudos

Hi,

I think populating the Value depends on for which field you mapped the UDF ..

Map the UDF to the Second segment field .