The current implementation limits the use of picture edit patterns to a textual representation of a numeric quantity. This means that digits are specified using the 'X' specifier. This is defined as an optional alphanumeric specifier in the CA Gen generator. Therefore, old format numeric/text edit patterns would continue to operate, but would not provide the level of control as specified by the new generator. Domain validation would be the only mechanism to catch entry errors if the old format pattern is interpreted using the new rules.
Therefore, old numeric/text edit patterns that contain 'X' specifiers are converted to 'Z' specifiers, if the associated variable is a numeric variable. This is a simple transformation that guarantees that the edit pattern specifiers coincide with the type of data that can be entered in the variable associated with the field.
Note that this transformation is only performed if the pattern contains 'X' specifiers, AND the field is associated with a numeric variable. This limitation is imposed because in the future, when picture fields may be associated with text variables, the 'X' specifier may be valid.
|
Copyright © 2013 CA.
All rights reserved.
|
|