FRM-41076 : Error Populating group (merged) [message #490130] |
Fri, 21 January 2011 04:45 ![Go to next message Go to next message](/forum/theme/orafaq/images/down.png) |
swapnil_naik
Messages: 269 Registered: December 2009 Location: Mumbai
|
Senior Member |
![swapnilnaik](/forum/theme/orafaq/images/skype.png)
|
|
Hi friend
i make a text field..on when-mouse-doubleclick i wrote a code
to populate lov
Code On when mouse-double clcik
----------------------------------
Declare
m_cnt1 NUMBER;
lov_id lov;
a_value_chosen Boolean;
V_QUERY VARCHAR2(5000) := NULL;
Begin
select q.uqmt_qry_txt||''''||:LC_REQ_HDR_TAB.LRHT_VENDR_CD||'''' ||' and plht_release_dt >= '||''''||:global.fy_st_dt||''''||') order by 1' into v_query
from unit_qry_mst1_tab q
where q.uqmt_unit_cd = :LC_REQ_HDR_TAB.LRHT_UNIT_CD
and q.uqmt_qry_sr = '9' ;
m_cnt1 := POPULATE_GROUP_WITH_QUERY('LV_CTRCT', v_query );
lov_id := FIND_LOV ('LV_CTRCT');
a_value_chosen := show_lov(lov_id);
IF NOT a_value_chosen then
Message('you have not selected a value');
END IF;
end;
I created a table unit_qry_mst1_tab , form this table i get field value for uqmt_qry_txt
select distinct plht_cntrct_cd from mrp2.po_lcl_hdr3_tab@mrp_rab_ora10g_link where plht_vmt_vndr_cd =
At design time i created lov LV_CTRCT like this
SELECT DISTINCT plht_cntrct_cd
from
MRP2.po_lcl_hdr3_tab@MRP_RAB_ORA10G_LINK a
where
a.plht_vmt_vndr_cd = :LC_REQ_HDR_TAB.LRHT_VENDR_CD and
a.plht_release_dt >= '01-APR-2010'
I given complete information related to that lov
My issue is when i press double click for that lov...lov pop up but also "FRM-41076: Error populating Group" This error pop up..
So for this i cant get idea where i mistake while populating group..
Please help....
CM: added [code] tags, please do so yourself next time
[Updated on: Fri, 21 January 2011 06:19] by Moderator Report message to a moderator
|
|
|
|
|