Consultor Eletrônico



Kbase P24501: A CASE statement based on a decimal field has a WHEN clause
Autor   Progress Software Corporation - Progress
Acesso   Público
Publicação   5/5/2003
Status: Unverified

FACT(s) (Environment):

Progress 9.x

SYMPTOM(s):

A CASE statement based on a decimal field has a WHEN clause that contains an integer constant

Incompatible data types in CASE and a WHEN branch expression. (3536)

CAUSE:

The compiler is unable to handle the differing data types due to a bug.

CAUSE:

Bug# 20030505-008

FIX:

Add '.0' to the integer constant (i.e. '4' becomes '4.0')