How to Convert Integer to Character?

Code:
DISPLAY "" @ intfield.
/*or*/
intfield:SCREEN-VALUE = "".

When assigned, the field will default to 0.

Edit: that is, you cannot store a blank (" ") value in an integer variable, only 0 or ?.

Edit: changed INPUT-VALUE to SCREEN-VALUE as posted by timk519 -- INPUT-VALUE is readable only.
 
OS: Windows XP
Version: Progress 9.1E

How to put blank value(" ") into an Integer Field?

If your intention is to display the integer data type fill-in text box with default blank value, you can choose the blank property. OR declare the variable as character data type assign it with blank then you can use integer() function to convert it into integer.
 
Back
Top