2009 Jul 15 7:01 PM
Hello all,
I have a requisite to show de '0.0' in a screen field of a type i variable. Is this possible or do i have to change de type of the variable?
Regards,
Pedro Bessa
2009 Jul 15 7:05 PM
It's impossible to use an integer variable to show floating point values. You might want to use TYPE p DECIMALS 1.
Hi Pedro,
there are some options for screen field like remove preceding zeros and field style in field properties. Try some of them, maybe it solve your problem.
Frisoni
2009 Jul 15 7:05 PM
It's impossible to use an integer variable to show floating point values. You might want to use TYPE p DECIMALS 1.
2009 Jul 15 7:13 PM
Hello Gustavo,
Variable is type p decimals 1 sorry i was wrong. The problem is when the value is 0.0, in screen field we see empty instead of 0.0.
Regards,
2009 Jul 15 7:32 PM
Hi Pedro,
there are some options for screen field like remove preceding zeros and field style in field properties. Try some of them, maybe it solve your problem.
Frisoni
2009 Jul 16 9:58 AM
Doesn't work. I guess i have to channge the variable to char...
Regards,
2009 Jul 16 10:04 AM
Hi ,
Declare you variable as BSIK-WRBTR it should work ...
Rgs,
suneel G
2009 Jul 16 10:07 AM
Hi ,
Declare variable type as WRBTR.
It should work.
Regards,
vijay
2009 Jul 16 10:36 AM
The output style of the screen field is disable. How can i enable it?
2009 Jul 16 10:47 AM
Hey Pedro,
Output style depends on the screen field declaration. So if you are using a database table field in the declaration, the output style will correspond to that particular field's style.
So I would suggest you find a DB field whose domain is similar to "TYPE p DECIMALS 1". This will solve the output style problem.
Hope this helps!!
Cheers,
Shailesh.
2009 Jul 16 4:31 PM
Thanks all,
Messed up with the program, changed the variable to char,
Poorly resolved
Regards
| User | Count |
|---|---|
| 6 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 |