‎2007 Sep 14 6:56 AM
Hi Gurus,
In my payslip smartform if the value is there means it should display the value otherwise the blank line should display for the amount field. Now am getting the 0.00 as output in my smartform. How surpress zeros in my smartform. Please give me corresponding suggestions for me.
Points will be awarded
Thanks
Ravi
‎2007 Sep 14 7:31 AM
hi,
for smartforms and scripts only.
&symbol(Z)& Omit Leading Zeros
&symbol(S)& Omit Leading Sign
&symbol(<)& Display Leading Sign to the Left
&symbol(>)& Display Leading Sign to the Right
&symbol(C)& Compress Spaces
&symbol(.N)& Display upto N decimal places
&symbol(T)& Omit thousands separator
&symbol(R)& Right justified
&symbol(I)& Suppress output of the initial value
regards,
Prabhu
reward if it is helpful.
‎2007 Sep 14 6:58 AM
Hi ravi,
Cheange the your data type of field from decimals in to Integer.
Thanks,
Reward If helpful.
‎2007 Sep 14 7:00 AM
better to change ur variable in string format.
data a type string.
a = your variable.
print a.
reward points if useful...
‎2007 Sep 14 7:01 AM
hi ravi
constants : c1 type c value '--'
write 😕 c.
just write the code in the EDIT > CHANGE EDITOR-
OPEN THAT EDITOR
write this code
‎2007 Sep 14 7:11 AM
Hi,
I think you have used character format to display the currency.
If yes, if the values are zeroes, then clear the field
this will help you
Regards
Shiva
‎2007 Sep 14 7:18 AM
Place a condition on the amount node(amountvalue NE 0) in the Condition tab, then the amount node will be displayed only when amount NE 0.
‎2007 Sep 14 7:31 AM
hi,
for smartforms and scripts only.
&symbol(Z)& Omit Leading Zeros
&symbol(S)& Omit Leading Sign
&symbol(<)& Display Leading Sign to the Left
&symbol(>)& Display Leading Sign to the Right
&symbol(C)& Compress Spaces
&symbol(.N)& Display upto N decimal places
&symbol(T)& Omit thousands separator
&symbol(R)& Right justified
&symbol(I)& Suppress output of the initial value
regards,
Prabhu
reward if it is helpful.