Skip to Content
author's profile photo Former Member
Former Member

Background Picture in a smartform

Hello All,

Is it possible to set the background picture in a smartform dynamically based certain conditions ?

Regards,

Senthil G

Add comment
10|10000 characters needed characters exceeded

1 Answer

  • Posted on Aug 26, 2008 at 01:30 PM

    Yes it is possible.

    You need to set the picture name in one variable. This par of the code must in the "Initialization" section of the Global Definition node.

    e.g.

    IF FLAG = 'X'.
    W_PICTURE = 'ZCOMP_LOGO'.
    ELSE.
    W_PICTURE = 'ZMY_LOGO'.
    ENDIF.
    

    Than in the "Background Picutre" pass the variable with &.

    e.g.

    Name      &W_PICTURE&
    

    Regards,

    Naimesh Patel

    Add comment
    10|10000 characters needed characters exceeded