Customer Portal

How to insert Space to replace Null by Reformat

Comments 2

  • Avatar
    imriskal
    0
    Comment actions Permalink
    Hi Jean,

    I would use something like this:

    if (isnull($in.0.A)) {$out.0.A = " ";}
    if (isnull($in.0.B)) {$out.0.B = " ";}
    if (isnull($in.0.C)) {$out.0.C = " ";}
    if (isnull($in.0.D)) {$out.0.D = " ";}
    if (isnull($in.0.E)) {$out.0.E = " ";}

    OR

    $out.0.A = nvl($in.0.A, " ");
    $out.0.B = nvl($in.0.B, " ");
    $out.0.C = nvl($in.0.C, " ");
    $out.0.D = nvl($in.0.D, " ");
    $out.0.E = nvl($in.0.E, " ");

    Does it meet your requirement?

    Kind regards,
  • Avatar
    jean
    0
    Comment actions Permalink
    Hi Imriskal,

    Yes, it is work in the second solution. Thanks.

Please sign in to leave a comment.