‎2007 Jan 30 3:32 PM
actually i am getting one error in a smartform.
my print prog is working fine and showing the weight as 0.001kg.
where as my smartform is printing it as 1kg.
Plz help me regarding this.
thanx.
‎2007 Jan 30 3:40 PM
Hi,
yes it wil print in the output same aas you said, in the Script also it will print that only. i faced the same problem in a week ago. here is the solution .
take a field type P and 3 decimals, and move that Weight field to new type P field, then move this P type field to a new field with a charecter type field.
data: var(13) type p decimals 3.
data: char1(13) type c.
Move: Weight to VAR.
Write VAR to CHAR1.
then print this CHAR! field in the output.
Regards
Sudheer
‎2007 Jan 30 3:40 PM
Hi,
yes it wil print in the output same aas you said, in the Script also it will print that only. i faced the same problem in a week ago. here is the solution .
take a field type P and 3 decimals, and move that Weight field to new type P field, then move this P type field to a new field with a charecter type field.
data: var(13) type p decimals 3.
data: char1(13) type c.
Move: Weight to VAR.
Write VAR to CHAR1.
then print this CHAR! field in the output.
Regards
Sudheer
‎2007 Feb 06 10:43 AM