How to Display an Integer?

chris_koloszar

Member
Hi, I've just started developing, and been ask to change a display in a grid in a form, the DD item '57PAQU' has File Decimals set to 6. How can I display this as only an integer in the form Grid, eliminating the decimals places???? I am not allowed to change this in Data dictionary
 
In the Form Design Aid, Right click on the column you want to change. Select Properties. On the Properties form take the override button. On the next form you will see a list of things to override. Select Display Decimals. Enter the number of decimal you want to see, In your case "0".
 
Hi Chris,
Jennifer is right on with her advice but sometimes that won't work. There is a business function that you can use to format a numeric to the right number of decimals.......If you need it I'll try and find it. I ran into that problem and spent a day or two to figure out that JDE sometimes does not follow it's own report writer rules.
Regards,
Dave
 
Thanks there,
I've tried that, but because the DD item specifies 6 decimal places this
doesn't work. so I had to use the alternative option suggested
by
Adrian_Chimirel replied to your post at the site: .


A way to do it would be:
- add an integer DD item to your grid,
- pass the value to it, and
- hide the DD item that shows decimals.

As you did not provide what TYPE of form the grid belongs to, the suggested
solution may (or may not) work :)

thanks again
Chris
OMRON - Netherlands





Jlynn
<jpate@crownpack. To: [email protected]
com> cc:
Sent by: Subject: Re: How to Display an Integer?
jdelist-bounces@j
delist.com


24/11/2003 16:52
Please respond to
JDELIST One World
/ XE Discussions






Jlynn replied to your post at the site: .
http://www.jdelist.com/ubb/showthreaded.php?Cat=&Board=OW&Number=64517

In the Form Design Aid, Right click on the column you want to change.
Select Properties. On the Properties form take the override button. On
the next form you will see a list of things to override. Select Display
Decimals. Enter the number of decimal you want to see, In your case "0".
 
Back
Top