The multi select lookup is "Label_Details".
if (input.Decision_box)
{
label_count = SubForm_Sales_Line_Items[(Label_Description_DELETE is not null)].count();
alert(label_count);
Shows 155 in Live mode
for each entry in SubForm_Sales_Line_Items [(Label_Description_DELETE is not null)]
{
label_rec = SubForm_Sales_Line_Items [Label_Description_DELETE = entry.Label_Description_DELETE];
//label_rec.Label_Details = label_rec.Label_Description_DELETE.getall();
Error
alert(label_rec.ID);
Shows each record ID correctly
entry.Label_Details:ui.append(label_rec.ID);
Error - Variable 'entry' is not defined
}
}
Any clue as to what I'm not understanding please?
Many thanks for any replies!