2013 Jun 15 12:17 PM
hi all,
in table control when i am getting zero quantity in quantity field the table control displays/output showing 0.00 .
i want blank of this field plz give me solution of this,
Thanks..
2013 Jun 16 7:18 AM
Suppose currently, the name of your quantity field is quan.
In the screen, change the screen field name of table control from quan to quan_c and set it to character format.
Also in the program, change the name of quantity field in structure of table control qaun to quan_c (character type of same length).
(Declare field quan as a separate variable to retrieve the value for quantity as was being done before)
Now after you get the value of quan, insert the following statement.
write quan to qaun_c no-zero.
You will get your quantity in the table control if its not zero. If it is zero, it will be displayed as blank.
hi all,
in table control when i am getting zero quantity in quantity field the table control displays/output showing 0.00 .
i want blank of this field plz give me solution of this,
Thanks..
2013 Jun 15 12:40 PM
2013 Jun 15 1:50 PM
Hi Ams.
1. Check your Field attribute - ( As it is controlled by the Quantity domain, it will always displays the Zero..) If you do not want, then the attribute has to be changed from Quantity to Character field.
2. Secondly, in the code, you need to update the field with SPACE when the value is Zero.
Regards,
Venkat
2013 Jun 15 4:39 PM
2013 Jun 16 7:18 AM
Suppose currently, the name of your quantity field is quan.
In the screen, change the screen field name of table control from quan to quan_c and set it to character format.
Also in the program, change the name of quantity field in structure of table control qaun to quan_c (character type of same length).
(Declare field quan as a separate variable to retrieve the value for quantity as was being done before)
Now after you get the value of quan, insert the following statement.
write quan to qaun_c no-zero.
You will get your quantity in the table control if its not zero. If it is zero, it will be displayed as blank.
2013 Jun 17 7:31 AM
Dear Ams,
It is well described by Susmitha .
Please go ahead with this as i have also faced the same issue in Table control and i followed the same procedure to get rectified.
Regards,
Ruhul
2013 Jun 18 11:11 AM
2013 Jun 18 12:21 PM
| User | Count |
|---|---|
| 4 | |
| 2 | |
| 2 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 |