Consultor Eletrônico



Kbase P101479: Buffer-value assignment does not distinguish ? from "?"
Autor   Progress Software Corporation - Progress
Acesso   Público
Publicação   14/08/2009
Status: Verified

SYMPTOM(s):

Buffer-value assignment does not distinguish ? from "?"

Cannot assign a single question mark character using BUFFER-VALUE attribute

Assigning a buffer-field:buffer-value attribute the value of "?" (ascii character question mark), results in the unknown value.

FACT(s) (Environment):

Progress 9.1E
Progress 9.1D
OpenEdge 10.x
All Supported Operating Systems

CAUSE:

The reason for this behavior is because the buffer-value construct was designed to accept "?" as the unknown value by default. This is by design.

FIX:

In order to change this behavior use the LITERAL-QUESTION attribute. For example:
BUFFER customer:BUFFER-FIELD('postcode'):LITERAL-QUESTION = YES.
Once this is set, the behavior will change and "?" will be taken as the ascii question mark character and not the unknown value.