Consultor Eletrônico



Kbase 6394: The 'date' datatype does not work properly in a WHEN clause
Autor   Progress Software Corporation - Progress
Acesso   Público
Publicação   10/05/1998
The 'date' datatype does not work properly in a WHEN clause

900212-dah03The 'date' datatype does not work properly in a WHEN clause with ?.
(bug#89120419)
The following illustrate the bug:
def var int1 as int init ?.
def var int2 as int init 100.
def var date1 as date init ?.
def var date2 as date init today.
def var flag1 as char.
def var flag2 as char.
display "*" when int2 > int1 @ flag1 int2 > int1.
display "*" when date2 > date1 @ flag2 date2 > date1.
if input flag1 <> input flag2 then message "integer and date are
inconsistent in a WHEN clause".

Progress Software Technical Support Note # 6394