Re: Empty record in list item
741379Dec 16 2009 — edited Dec 16 2009I would be very greatful it anybody could help me.
I have created a recordgroup for list item and populated the same. All values are dispalyed properly but in addion one empty record is appear. how can i remove the empty record ? my syntax are as under:
declare
v_rg NUMBER;
v_GrpID RECORDGROUP;
begin
v_GrpID := CREATE_GROUP_FROM_QUERY('DRVCODE', 'SELECT led_name ,led_name FROM master_ledger where cmp_code=:global.cmp_code ORDER BY 1');
v_rg := POPULATE_GROUP(v_GrpID);
IF v_rg = 0 THEN
POPULATE_LIST('master_driver.tdrvname', v_GrpID);
END IF;