Is it possible to refer to fields in a record by their column number?

Started by Matthew F., September 02, 2016, 03:38:27 PM

Previous topic - Next topic

Rene S.

Hello,
I can confirm: there is a lack of information. base.TypeInfo.create does not distinguish empty strings from NULLs.
Trailing blanks are not significant in 4GL. "foo" == "foo   " returns TRUE. Strings are right-trimmed by base.TypeInfo.create for that reason.

The attribute value should hold a single blank character (" "). That's the way how UNLOAD serializes CHAR and VARCHAR.

A new bug "base.TypeInfo.create() must distinguish empty strings form NULLs" should be created.

Sisavanh S.

Hi everybody,

The bug is created as:
FGL#4372: base.TypeInfo.create() must distinguish empty strings from NULLs

Matthew, I let you follow up with your local support center about the priority and dates for a fix.

Thanks.
Sisa.

Matthew F.

Quote from: Sisavanh S. on September 14, 2016, 03:29:53 PM
Hi everybody,

The bug is created as:
FGL#4372: base.TypeInfo.create() must distinguish empty strings from NULLs

Matthew, I let you follow up with your local support center about the priority and dates for a fix.

Thanks.
Sisa.

Thank you!