Application Development and Automation Discussions
Join the discussions or start your own on all things application development, including tools and APIs, programming models, and keeping your skills sharp.
cancel
Showing results for 
Search instead for 
Did you mean: 
Read only

smartforms

Former Member
0 Likes
314

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.

1 ACCEPTED SOLUTION
Read only

Former Member
0 Likes
292

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

2 REPLIES 2
Read only

Former Member
0 Likes
293

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

Read only

Former Member
0 Likes
292

its fixed