Monday, 22 September 2014

Converting Numeric Datatype Field Value to Character Datatype Value in Peoplecode

I am trying to create an interview ID  i.e  000001

local number &i = 1;

Local String &InterviewID ;

/* I have used NumberToString()  from numeric to character  data type conversion  */

&InterviewID  = NumberToString("%06", &i );

No comments:

Post a Comment