formating a display field

beezley

New Member
Hi Everyone,
I am pretty new to progress, and still learning.

I am having trouble figuring out how to change the way a field is displayed but not change the value.

i have idnum = -123344567
i need to display the number with out the (-) but not change value of idnum.
I hope that makes sense.

this is what I currently have :
idnum = STRING(ABS(INT(t-ctr.t-idnum)),"999999999").

which works fine but after it is loaded and i double click on the field it can't find it because i have taken the (-) off the field???

I know it has to be something simple..

thanks for help!!! Much apprciated
 
What is the problem with displaying a local variable with the computed display value? Just don't store the computation back in the real variable or field.
 
Back
Top