Special format of phone number
Posted: Mon Jun 04, 2012 3:37 pm
I have selected Special under field formatting and Phone Number under type.
This is working fine except that I would like the field to show blanks when the 10 digit phone number is 0. Currently, a zero phone number shows one 0 on the input field.
In the green screen world, we developed our own EDTCDE(8) which allowed us to show blanks for a a zero phone number:
Here is what the custom edit code looks like:
Display Edit Description
Edit description . . . . . . . : 8
Integer mask . . . . . . . . . : 0) -
Decimal point character . . . : .
Fraction mask . . . . . . . . :
Fill character . . . . . . . . :
Currency symbol . . . . . . . :
Edit zero values . . . . . . . : *NO
Negative status characters . . :
Positive status characters . . :
Left constant characters . . . : (
Right constant characters . . :
Text . . . . . . . . . . . . . : Telephone Mask
This is working fine except that I would like the field to show blanks when the 10 digit phone number is 0. Currently, a zero phone number shows one 0 on the input field.
In the green screen world, we developed our own EDTCDE(8) which allowed us to show blanks for a a zero phone number:
Here is what the custom edit code looks like:
Display Edit Description
Edit description . . . . . . . : 8
Integer mask . . . . . . . . . : 0) -
Decimal point character . . . : .
Fraction mask . . . . . . . . :
Fill character . . . . . . . . :
Currency symbol . . . . . . . :
Edit zero values . . . . . . . : *NO
Negative status characters . . :
Positive status characters . . :
Left constant characters . . . : (
Right constant characters . . :
Text . . . . . . . . . . . . . : Telephone Mask