on 04-21-2010 12:54 PM
Dear All,
I am having issue displaying hte zero quantity on the smart form print output.
It is a form for displaying details of the sales Order.
When the quantity is non zero the value gets displayed.
But when the quantity is zero nothing gets displayed on the print output.
The field is bmeng (quantity)
In the driver program iti s declared as
BMENG QUAN 13 3 Confirmed quantity
In the smartform it is declared as
&w_final-bmeng(CIZ)&
I changed the delcaration in smartform as &w_final_bmeng(CI)&
But still i am not getting zero displayed on the print output
Please guide.
Regards,
SuryaD.
Hi,
Try to remove (I) because it stands for "suppress output of initial value".
Since 0 is initial value of this field, I suppose it can cause your problem.
&w_final-bmeng(CZ)&
Regards,
MC
Edited by: Marcin Cudo on Apr 21, 2010 2:00 PM
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Thanks for your input Marcin.
I will try your suggestion and will chekc if it fixes my issue.
Just for clarity ,example
If w_final-bmeng = 0.00 in runtime (debugging i am able to see this value),
then print output shows confirmed quantity = ' ' (shows space..nothing is displayed)
If w_final-bmeng = 1.00 in runtime (any value other than the zero or initial value)
then print output shows confirmed quantity = 1
Regs,
SuryaD.
Hi,thanks for your response and guidance.
I fixed the issue.
Displaying w_bmeng(CIZ) is the right form.
In my case, initially it wasnt displaying correcty becuase apart from w_bemng(CIZ) there were other text elements (unwanted..mote like junk) that were by mistake saved in that editir. So i removed them all(junk & unwanted) and just retained w_bmeng(CIZ) and getting the output successfully.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
The use of the commands are given below....
(C) - Condense the variable
(Z) - Remove Leading zeros
(I) - Supress Initial Value ---> Supressing your initial outputs
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
84 | |
24 | |
11 | |
9 | |
7 | |
6 | |
5 | |
5 | |
5 | |
4 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.