--WHEN-NEW-FORM-INSTANCE
What is wrong here ?
These errors occur:
FRM-30351: No list elements defined for list item.
FRM-41334: Invalid record group for list population.
Code:
DECLARE
group_id RecordGroup;
list_id Item := Find_Item('MYBLOCK.THELIST');
status NUMBER;
rg_name varchar2(40) := 'recgroup';
BEGIN
clear_list(list_id);
group_id := Find_Group(rg_name);
IF NOT id_null(group_id) then
Delete_Group(group_id);
End if;
group_id := Create_Group_From_Query(rg_name,
'SELECT ENAME FROM EMP');
status := Populate_Group(rg_name);
Populate_List(list_id, group_id);
END;
What is wrong here ?
These errors occur:
FRM-30351: No list elements defined for list item.
FRM-41334: Invalid record group for list population.