|
|
| Author |
Message |
gekalpana
New User
Joined: 11 Apr 2007 Posts: 12 Location: Chennai
|
|
|
|
While moving a Alphanumeric to numeric field , i want to make it zero filled in the beginning , in case the value is less than the pic clause defined.
For eg: Alphanumeric variable = 6788
I want it as Numeric varible =00006788
How to achieve it ?
Thanks !! |
|
| Back to top |
|
 |
References
|
Posted: Fri Jun 15, 2007 9:34 pm Post subject: Re: Making Zero filled at the beginning of the field |
 |
|
|
 |
William Thompson
Global Moderator
Joined: 18 Nov 2006 Posts: 2979 Location: Tucson AZ
|
|
|
|
IIRC, an alphanumeric to numeric move is allowed and takes on the properties of a simple numeric move which right justifies and pads with leading zeros.
How to achieve it? Just move it. |
|
| Back to top |
|
 |
dick scherrer
Global Moderator
Joined: 23 Nov 2006 Posts: 7997 Location: 221 B Baker St
|
|
|
|
| After making sure the pic x field really is numeric. . . . |
|
| Back to top |
|
 |
|
|