Hi.
If I have a table in a form like:
<t valk >
[nr|hopur |hnafn |tbeink ]
[nr|hopur |hnafn |tbeink ]
[nr|hopur |hnafn |tbeink ]
< >
and one field defined as a combobox:
table valk:valk, unhidablecolumns, unmovablecolumns, unsizablecolumns;
nr=formonly.nr type int, noentry, title="Nr";
buttonedit hopur=formonly.hopur, upshift, autonext, action=lookup, title="Húsahópur";
buttonedit hnafn=formonly.hnafn, scroll, action=lookup, title="Nafn húsahóps";
combobox tbeink=formonly.tbeink, title="Tímabil, dags frá - dags til";
Is it possble to have different values in tbeink for different lines? For example, in the first line of the array tbeink would have values 2,3,4 in the second line 1,3,4 etc. It seems impossible to
let cb = ui.ComboBox.forName("formonly[1].tbeink")
or similar. What I need to do is to populate the combo in each line depending on the values of another field in the same line.
Best regards,
-Snorri