View previous topic :: View next topic
|
Author |
Message |
omprakash.mf
New User
Joined: 06 Jul 2010 Posts: 12 Location: hyderabad
|
|
|
|
Hi,
I'm generating a report. In that report one value is dispalying in 1,051 format.
I want it to be displayed in 1051 format. Need to avoid the comma.
For this I moved the actual variable to an alphanumeric variable. Now I can see the value 1051 but with preceeding zero.
I need to suppress zero.
I used the below code to suppress. Its not working.
Could any one please help me in this regard.
WS-CORP-CELL-NO W 4 A MASK('Z9999') |
|
Back to top |
|
|
expat
Global Moderator
Joined: 14 Mar 2007 Posts: 8797 Location: Welsh Wales
|
|
|
|
What does it say in the manual regarding this.
CA manuals are not internet available to all and sundry, so if your site is lisenced you will have access to the manuals. I suggest that you read them.
Even as a non easytrieve programmer your posted code has given me at least one topic to go read up on. |
|
Back to top |
|
|
Bill Woodger
Moderator Emeritus
Joined: 09 Mar 2011 Posts: 7309 Location: Inside the Matrix
|
|
|
|
omprakash.mf wrote: |
[...]WS-CORP-CELL-NO W 4 A MASK('Z9999') |
Why make it alpha? I don't know what the MASK will do, I'm even surprised it compiles.
Code: |
WS-CORP-CELL-NO W 5 N MASK ( 'Z9999' ) |
If that doesn't give you what you want, you will have to be clearer. |
|
Back to top |
|
|
dick scherrer
Moderator Emeritus
Joined: 23 Nov 2006 Posts: 19244 Location: Inside the Matrix
|
|
|
|
Hello,
It may not. . .
Unfortunately TS was not willing to post what was wrong - only that "it didn't work" (probably the most worthless post that can be made when looking for help and a waste of everyone's time) |
|
Back to top |
|
|
|