Home » Developer & Programmer » Forms » FRM-41076 : Error Populating group (merged)
FRM-41076 : Error Populating group (merged) [message #490130] Fri, 21 January 2011 04:45 Go to next message
swapnil_naik
Messages: 269
Registered: December 2009
Location: Mumbai
Senior Member

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

Re: FRM-41076 : Error Populating group (merged) [message #490153 is a reply to message #490130] Fri, 21 January 2011 06:21 Go to previous messageGo to next message
cookiemonster
Messages: 13938
Registered: September 2008
Location: Rainy Manchester
Senior Member
The obvious thing to do is check the contents of v_query.
Re: FRM-41076 : Error Populating group (merged) [message #490165 is a reply to message #490130] Fri, 21 January 2011 07:51 Go to previous message
joy_division
Messages: 4963
Registered: February 2005
Location: East Coast USA
Senior Member
cookiemonster wrote on Fri, 21 January 2011 07:21



CM: added [code] tags, please do so yourself next time


Haha, that's a good one. I dare you to find a single post where this OP has formatted their code. And just count the number of times posts had to be merged by this OP.

[Updated on: Fri, 21 January 2011 07:52]

Report message to a moderator

Previous Topic: alert cancel button gives non oracle exception
Next Topic: demo not working.
Goto Forum:
  


Current Time: Thu Sep 19 16:15:48 CDT 2024