The following style of code results in a form compile error:
database formonly
layout
grid
{
[A1 ][A2 ]
}
end
end
attributes
phantom formonly._seqno type integer;
A1 = formonly.key type integer;
A2 = formonly.value type char;
instructions
screen record pha[1] (formonly._seqno, formonly.key, formonly.value)
however if the [1] is changed to [2] (plus adjust the grid to have another row) the error does not happen.
Contents of the .err file is:
screen record pha[1] (formonly._seqno, formonly.key, formonly.value)
# At least one member of the SCREEN RECORD 'pha' must not be a PHANTOM field.
# See error number -6831.
Version of BDL is 2.20.09