RE: 2.21.10.
FYI we just noticed that the following SQL compiles ok crashes with a runtime error.
SELECT comm_key
INTO tari_rec.comm_key
FROM tari
WHERE tran_key = tran_arr[1]
AND tari_key = prod_rec.tari_key
where tran_arr is defined as:-
tran_arr ARRAY[30] OF RECORD
comp_key CHAR (30)
END RECORD,
The error generated is:-
FORMS statement error number -6327.
Internal error in the run time library file fglsql.c(1483):
f->type->ftType <= T_money || (f->type->ftType >= T_boolean && f->type->ftType <= T_bigint).
Obviously this was a typo on our part, the SQL should have used tran_arr[1].comp_key. I would have expected the compiler to notice this at compile time though...?