Consultor Eletrônico



Kbase 16052: Error 630 using character field with format using "999..."
Autor   Progress Software Corporation - Progress
Acesso   Público
Publicação   10/05/1998
Error 630 using character field with format using "999..."


In a character field formatted with "9"s, error 630 can result
if a user starts entering data then leaves the field before fully
satisfying the format.

** Character at position <n> must be digit. (630)

Example character formats where this will happen:

"999-999-9999"
"(999) 999-9999"
"99/99/99"

Example code which gives the error:

DEF VAR x AS CHAR FORMAT "999-999-9999".
UPDATE x.

This is not a bug. The behavior is a consequence of this type of
format.

To avoid the error, a format should be used that does not use "9"s:

DEF VAR x AS CHAR FORMAT "xxx-xxx-xxxx".

Progress Software Technical Support Note # 16052