Skip to Content
0
Former Member
Sep 19, 2008 at 08:35 AM

IF condition is not working in script

368 Views

Hi ,

I have cash discount field in my script. I don't want to print that field ,if the value of that field is 0.

I tried giving the condition as

if &regud-sknto& <> '0'

then print.

endif.

but it is not working.

I tried declaring another variable of same type and made the value as 0.

g_sknto = 0. (type regud-sknto)

if &regud-sknto& <> g_sknto

then print.

endif.

this is also not woking..

what is the problem? i am not able to identify...any help please..

Thanks,

Omkaram.